We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a85b7c commit e987dc2Copy full SHA for e987dc2
src/hooks/usePendingRoute.ts
@@ -17,7 +17,8 @@ const usePendingRoute = () => {
17
const [pendingRoute, setPendingRoute] = useState<string | null>(null);
18
const currentRoute = useRef<string | null>(null);
19
useEffect(() => {
20
- let routeTransitionTimer: ReturnType<typeof setTimeout> | undefined = undefined;
+ let routeTransitionTimer: ReturnType<typeof setTimeout> | undefined =
21
+ undefined;
22
23
const handleRouteChangeStart = (url: string) => {
24
clearTimeout(routeTransitionTimer);
0 commit comments