add refetch for tanstak table files-list

This commit is contained in:
smanylov
2026-02-23 12:36:54 +07:00
parent c1d5f9eebf
commit a3ac3f6535
@@ -25,7 +25,7 @@ import { FileMonitoringModalWindow } from '@/app/ui/modal-windows/file-monitorin
import { FileTypeIcon } from '@/app/components/FileTypeIcon';
import { fetchReferralUserStats } from '@/app/actions/referralsActions';
import { MonitoringDropDown } from '@/app/components/tanstak-table/MonitoringDropDown';
import {formatDate, formatDateTime} from '@/app/lib/formatDate';
import { formatDate, formatDateTime } from '@/app/lib/formatDate';
type FileType = 'image' | 'video' | 'audio';
@@ -119,6 +119,7 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
};
});
},
refetchInterval: 60000
});
const {