Mobile improvements for two-factor form

This commit is contained in:
Dane Everitt 2019-12-22 20:51:50 -08:00
parent 9a0ed6b291
commit 6ccac6e040
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 21 additions and 7 deletions

View file

@ -7,6 +7,7 @@ import Spinner from '@/components/elements/Spinner';
export interface RequiredModalProps {
visible: boolean;
onDismissed: () => void;
appear?: boolean;
}
type Props = RequiredModalProps & {
@ -38,6 +39,7 @@ export default (props: Props) => {
<CSSTransition
timeout={250}
classNames={'fade'}
appear={props.appear}
in={render}
unmountOnExit={true}
onExited={() => props.onDismissed()}