add refetch for tanstak table files-list
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user