File tree Expand file tree Collapse file tree
src/components/Modal/ReanimatedModal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,17 +130,14 @@ function ReanimatedModal({
130130
131131 // eslint-disable-next-line react-hooks/set-state-in-effect
132132 setIsVisibleState ( true ) ;
133- // eslint-disable-next-line react-hooks/set-state-in-effect
134133 setIsTransitioning ( true ) ;
135134 } else if ( ! isVisible && isContainerOpen && ! isTransitioning ) {
136135 handleRef . current = InteractionManager . createInteractionHandle ( ) ;
137136 transitionHandleRef . current = TransitionTracker . startTransition ( ) ;
138137 onModalWillHide ( ) ;
139138
140139 blurActiveElement ( ) ;
141- // eslint-disable-next-line react-hooks/set-state-in-effect
142140 setIsVisibleState ( false ) ;
143- // eslint-disable-next-line react-hooks/set-state-in-effect
144141 setIsTransitioning ( true ) ;
145142 }
146143 // eslint-disable-next-line react-hooks/exhaustive-deps
You can’t perform that action at this time.
0 commit comments