Feature/33 api fails when no pilots or logbook entries #35
@@ -35,11 +35,11 @@ const SiteNav: React.FC<unknown> = () => {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const handleSignInRedirect = () => {
|
const handleSignInRedirect = async () => {
|
||||||
instance
|
await instance
|
||||||
.loginRedirect({
|
.loginRedirect({
|
||||||
...loginRequest,
|
...loginRequest,
|
||||||
prompt: 'create',
|
// prompt: 'create',
|
||||||
})
|
})
|
||||||
.catch((error) => console.log(error));
|
.catch((error) => console.log(error));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user