fix: remove refresh on focus

This commit is contained in:
David Nguyen
2025-03-08 15:30:13 +11:00
parent 65be37514f
commit b990532633
2 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,9 @@ import { useCallback, useEffect } from 'react';
import { useRevalidator } from 'react-router';
/**
* Not really used anymore, this causes random 500s when the user refreshes while this occurs.
*/
export const RefreshOnFocus = () => {
const { revalidate, state } = useRevalidator();