expand sub tasks
This commit is contained in:
@@ -3,4 +3,4 @@ import { useLayoutEffect, useEffect } from 'react';
|
||||
// Use useLayoutEffect in browser environments and useEffect in SSR environments
|
||||
const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;
|
||||
|
||||
export default useIsomorphicLayoutEffect;
|
||||
export default useIsomorphicLayoutEffect;
|
||||
|
||||
Reference in New Issue
Block a user