Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
nmarmugi committed Aug 29, 2024
1 parent 94058e3 commit 95263eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/TasksTable/TasksTableColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ export function getColumns({
<DataTableColumnHeader column={column} title="Created At" />
),
cell: ({ cell }) => (
<span suppressHydrationWarning title={new Date(cell.getValue() as string).toLocaleTimeString()}>
<span
suppressHydrationWarning
title={new Date(cell.getValue() as string).toLocaleTimeString()}
>
{new Date(cell.getValue() as string).toLocaleDateString()}
</span>
),
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/data-table/data-table-column-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function DataTableColumnHeader<TData, TValue>({
</DropdownMenuItem>
<DropdownMenuItem
aria-label="Clear sorting"
onClick={() => column.clearSorting()}
onClick={() => column.clearSorting()}
>
<CaretSortIcon
className="mr-2 size-3.5 text-muted-foreground/70"
Expand Down

0 comments on commit 95263eb

Please sign in to comment.