Merge pull request #268 from YangFong/fix-name

fix typo
This commit is contained in:
fantasticit 2024-05-15 15:44:39 +08:00 committed by GitHub
commit 63aff8bbdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);