diff --git a/packages/client/src/hooks/use-interval.tsx b/packages/client/src/hooks/use-interval.tsx index 0a6def3d..f2342d5c 100644 --- a/packages/client/src/hooks/use-interval.tsx +++ b/packages/client/src/hooks/use-interval.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useRef, useState } from 'react'; +import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect'; import { useToggle } from './use-toggle'; -import { useIsomorphicLayoutEffect } from './user-isomorphic-layout-effect'; export const useInterval = (callback: () => void, delay: number) => { const savedCallback = useRef(callback); diff --git a/packages/client/src/hooks/user-isomorphic-layout-effect.tsx b/packages/client/src/hooks/use-isomorphic-layout-effect.tsx similarity index 100% rename from packages/client/src/hooks/user-isomorphic-layout-effect.tsx rename to packages/client/src/hooks/use-isomorphic-layout-effect.tsx