`user-isomorphic-layout-effect.tsx` => `use-isomorphic-layout-effect.tsx`
pull/268/head
YangFong 2024-04-18 17:40:50 +08:00
parent 3665aeea36
commit 5e3f47564a
2 changed files with 1 additions and 1 deletions

View File

@ -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);