🐛 fix(type): Fix ts type check error

This commit is contained in:
web@ppanel
2025-01-28 13:55:43 +07:00
parent 1d8c765c14
commit 3cb0629d64
3 changed files with 17 additions and 23 deletions
+12 -12
View File
@@ -71,18 +71,18 @@ export default function Page() {
accessorKey: 'id',
header: 'ID',
},
{
accessorKey: 'email',
header: t('userName'),
},
{
accessorKey: 'telephone',
header: t('telephone'),
cell: ({ row }) => {
if (!row.original.telephone) return '--';
return `+${row.original.telephone_area_code} ${row.original.telephone}`;
},
},
// {
// accessorKey: 'email',
// header: t('userName'),
// },
// {
// accessorKey: 'telephone',
// header: t('telephone'),
// cell: ({ row }) => {
// if (!row.original.telephone) return '--';
// return `+${row.original.telephone_area_code} ${row.original.telephone}`;
// },
// },
{
accessorKey: 'balance',
header: t('balance'),