Add takeoff animation to demo login
This commit is contained in:
parent
7e4ec82d3e
commit
98556c9aaf
@ -59,7 +59,8 @@ export default function LoginPage() {
|
||||
setIsLoading(true)
|
||||
try {
|
||||
await demoLogin()
|
||||
navigate('/dashboard')
|
||||
setShowTakeoff(true)
|
||||
setTimeout(() => navigate('/dashboard'), 2600)
|
||||
} catch (err) {
|
||||
setError(err.message || 'Demo-Login fehlgeschlagen')
|
||||
} finally {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user