Skip to content

Commit

Permalink
remarks were not showing into the address list issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaKhanAbdalli committed Dec 22, 2023
1 parent 7f76203 commit fb4af6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/resources/addresses/AddressList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function AddressList(): React.ReactElement {
<TextField<Address> source='fullAddress' />
<BooleanField<Address> source='active' looseValue />
<DateField<Address> source='createdAt' />
<TextField<Address> source='Remarks' />
<TextField<Address> source='remarks' />
</Datagrid>
</List>
)
Expand Down
2 changes: 1 addition & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ interface Address {
createdAt: string
fullAddress: string
active: boolean
Remarks: string
remarks: string
}

interface Dispatch {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/init-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const getAddresses = (
id: index + 1,
fullAddress: `${ctr} Some St, Some Town, Some County, DD${ctr} ${ctr}EF`,
createdAt: DateTime.now().toISO() ?? '',
Remarks: '',
remarks: '',
active
}
})
Expand Down

0 comments on commit fb4af6d

Please sign in to comment.