export const RefreshOnFocus = () => {
  // Todo: Would this still work?
  // const { refresh } = useRouter();

  // const onFocus = useCallback(() => {
  //   refresh();
  // }, [refresh]);

  // useEffect(() => {
  //   window.addEventListener('focus', onFocus);

  //   return () => {
  //     window.removeEventListener('focus', onFocus);
  //   };
  // }, [onFocus]);

  return null;
};
