feat: add keepPreviousData option to useGet in IncidentModal

This commit is contained in:
nikhil2004 committed 2026-09-22 22:29:00 +05:30
1 parent 40a9f3f1e1
commit 99c62961cf
1 file changed
+1 -1
@@ -34,7 +34,7 @@ export const IncidentModal = ({
const { data, isLoading, error } = useGet<{ incidents: Incident[] }>(
open ? `/status-page/${url}/incidents/${monitorId}?date=${date}` : null,
{},
{ revalidateOnFocus: false }
{ revalidateOnFocus: false, keepPreviousData: true }
);
return (