mirror of https://github.com/fantasticit/think.git
fix typo
`user-isomorphic-layout-effect.tsx` => `use-isomorphic-layout-effect.tsx`pull/268/head
parent
3665aeea36
commit
5e3f47564a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue