Closes #327: Cria tela "List Donations" (#343) #26
Annotations
10 errors
build:
src/hooks/useDonations/useDonations.tsx#L5
'shelterId' is declared but its value is never read.
|
build:
src/pages/DonationsHistory/DonationsHistory.tsx#L17
'shelterLoading' is declared but its value is never read.
|
build:
src/pages/DonationsHistory/DonationsHistory.tsx#L96
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{} | IDonationsPerDay'.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L14
Property 'status' does not exist on type 'IDonationProps'.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L15
'error' is declared but its value is never read.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L17
Function lacks ending return statement and return type does not include 'undefined'.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L19
Type '`Entregue no dia ${any} \u00E0s\n ${any}`' is not assignable to type 'DonateOrderStatus'.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L19
Property 'createdAt' does not exist on type 'IDonationProps'.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L20
Property 'createdAt' does not exist on type 'IDonationProps'.
|
build:
src/pages/DonationsHistory/components/Donation.tsx#L22
Type '`Criado no dia ${any} \u00E0s\n ${any}`' is not assignable to type 'DonateOrderStatus'.
|