File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
app/web-frontend/src/pages/Signup Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ const handleLogout = () => {
99 authUser . removeUser ( ) ;
1010} ;
1111
12+ let isAppUpdated = false ;
13+
1214function Signup ( ) {
1315 const navigate = useNavigate ( ) ;
1416 const { updateAppKey } = useAppKeys ( ) ;
@@ -24,19 +26,21 @@ function Signup() {
2426
2527 useEffect ( ( ) => {
2628 handleLogout ( ) ;
29+ if ( ! isAppUpdated ) { updateAppKey ( ) ; isAppUpdated = true ; }
2730 } , [ ] ) ;
2831
2932 return (
30- < div style = { {
31- minHeight : '60vh' ,
32- display : 'flex' ,
33- justifyContent : 'center' ,
34- alignItems : 'center' ,
35- flexDirection : 'column' ,
36- gap : '16px' ,
37- maxWidth : '600px' ,
38- margin : 'auto' ,
39- } }
33+ < div
34+ style = { {
35+ minHeight : '60vh' ,
36+ display : 'flex' ,
37+ justifyContent : 'center' ,
38+ alignItems : 'center' ,
39+ flexDirection : 'column' ,
40+ gap : '16px' ,
41+ maxWidth : '600px' ,
42+ margin : 'auto' ,
43+ } }
4044 >
4145 < h4 style = { { fontSize : '28px' , fontWeight : 'bold' } } >
4246 Signup with your cardano wallet.
You can’t perform that action at this time.
0 commit comments