diff --git a/dashboard/src/modules/users/components/dialogs/settings/user-info/table.tsx b/dashboard/src/modules/users/components/dialogs/settings/user-info/table.tsx index f56e55c..932fdbb 100644 --- a/dashboard/src/modules/users/components/dialogs/settings/user-info/table.tsx +++ b/dashboard/src/modules/users/components/dialogs/settings/user-info/table.tsx @@ -28,7 +28,6 @@ import { TimerReset } from "lucide-react"; export const UserInfoTable: FC = ({ user: entity }) => { const { t } = useTranslation(); - const expireDate = entity.expire_date ? new Date(entity.expire_date) : null; const { mutate: resetUsage } = useUserUsageResetCmd(); const lifetimeUsedTrafficByte = format(entity.lifetime_used_traffic); @@ -75,7 +74,7 @@ export const UserInfoTable: FC = ({ user: entity }) => { fixed_date: ( ), start_on_first_use: ( @@ -117,7 +116,7 @@ export const UserInfoTable: FC = ({ user: entity }) => { {entity.traffic_reset_at ? ( ) : ( @@ -148,7 +147,7 @@ export const UserInfoTable: FC = ({ user: entity }) => { {entity.sub_updated_at ? ( ) : (