Skip to content

Commit

Permalink
[fix] SSR of Animated doesn't call useLayoutEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Apr 12, 2023
1 parent 6795738 commit 338cce1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ import NativeAnimatedHelper from './NativeAnimatedHelper';
import {
useCallback,
useEffect,
useLayoutEffect,
useMemo,
useReducer,
useRef,
} from 'react';

import useLayoutEffect from '../../../modules/useLayoutEffect';

type ReducedProps<TProps> = {
...TProps,
collapsable: boolean,
Expand Down

0 comments on commit 338cce1

Please sign in to comment.