add queryClient.clear() for logout

This commit is contained in:
smanylov
2026-02-20 16:55:44 +07:00
parent 9ab78a55c3
commit 9d03968bc1
8 changed files with 13 additions and 13 deletions
@@ -25,6 +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 { useUserProfile } from '@/app/hooks/react-query/useUserDataInfo';
type FileType = 'image' | 'video' | 'audio';
@@ -582,7 +583,7 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
}
return result;
}, [tableData, typeFilter, dateFilter]);
}, [tableData, typeFilter, dateFilter]); //tut
useEffect(() => {
const currentPageRows = table.getRowModel().rows;