task-fixdatetime
This commit is contained in:
@@ -5,6 +5,7 @@ import { DataTable } from '@/components/ui/table/data-table';
|
||||
import { DataTableColumnHeader } from '@/components/ui/table/data-table-column-header';
|
||||
import { DataTableToolbar } from '@/components/ui/table/data-table-toolbar';
|
||||
import { useDataTable } from '@/hooks/use-data-table';
|
||||
import { formatNumber } from '@/lib/number-format';
|
||||
import { getSortingStateParser } from '@/lib/parsers';
|
||||
import { parseAsInteger, parseAsString, useQueryStates } from 'nuqs';
|
||||
import { useSuspenseQuery } from '@tanstack/react-query';
|
||||
@@ -60,7 +61,7 @@ const columns: ColumnDef<Product>[] = [
|
||||
{
|
||||
accessorKey: 'price',
|
||||
header: 'PRICE',
|
||||
cell: ({ row }) => `$${row.original.price.toLocaleString()}`
|
||||
cell: ({ row }) => `$${formatNumber(row.original.price)}`
|
||||
},
|
||||
{
|
||||
accessorKey: 'description',
|
||||
|
||||
Reference in New Issue
Block a user