Skip to content

Commit

Permalink
refactor: Update initialSort value in Grid component
Browse files Browse the repository at this point in the history
  • Loading branch information
bramses committed Aug 19, 2024
1 parent 78adc41 commit 07a0680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/[locale]/(auth)/dashboard/grid/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const Grid = () => {
field: 'updatedAt',
suppressHeaderMenuButton: true,
sortable: true,
initialSort: 'desc',
initialSort: 'desc' as 'asc' | 'desc' | undefined, // Updated line,
width: 100,
},
];
Expand Down

0 comments on commit 07a0680

Please sign in to comment.