File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ function Alert(props) {
88
99const CustomSnackbar = ( { message, severity = 'info' , onClose } ) => {
1010 return (
11- < Snackbar open = { message !== null } autoHideDuration = { 8000 } onClose = { onClose } >
11+ < Snackbar
12+ open = { message !== null }
13+ autoHideDuration = { 8000 }
14+ onClose = { onClose }
15+ anchorOrigin = { { vertical : 'top' , horizontal : 'center' } } >
1216 < Alert onClose = { onClose } severity = { severity } >
1317 { message }
1418 </ Alert >
Original file line number Diff line number Diff line change @@ -608,7 +608,7 @@ class LoginPage extends React.Component {
608608 resendVerificationEmail ( user_name , this . props . token ) . then ( ( payload ) => {
609609 this . showAlert (
610610 'We\'ve sent you a verification email. Please check your inbox and click the link to verify your account.' ,
611- 'info ' ) ;
611+ 'success ' ) ;
612612 } , ( error ) => {
613613 let { response, status} = error ;
614614 if ( status === 412 ) {
You can’t perform that action at this time.
0 commit comments