import { useEffect } from 'react'; import * as React from 'react'; export function useMarkInitialLoad( dispatch: React.Dispatch> ) { useEffect(() => { dispatch(true); }, [dispatch]); }