mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
fix component in transition
This commit is contained in:
parent
65c977aed7
commit
31774283c4
@ -59,7 +59,7 @@ const A = styled.a`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const TransitionMenu = (props: TransitionMenuProps): React$Element<TransitionGroup> => (
|
const TransitionMenu = (props: TransitionMenuProps): React$Element<TransitionGroup> => (
|
||||||
<TransitionGroupWrapper component={null} className="transition-container">
|
<TransitionGroupWrapper component="div" className="transition-container">
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
key={props.animationType}
|
key={props.animationType}
|
||||||
onExit={() => { window.dispatchEvent(new Event('resize')); }}
|
onExit={() => { window.dispatchEvent(new Event('resize')); }}
|
||||||
|
Loading…
Reference in New Issue
Block a user