1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

fix component in transition

This commit is contained in:
Vladimir Volek 2018-09-18 20:51:38 +02:00
parent 65c977aed7
commit 31774283c4

View File

@ -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')); }}