Feature/33 api fails when no pilots or logbook entries #35
@@ -125,6 +125,10 @@ const SiteNav: React.FC<unknown> = () => {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
instance.handleRedirectPromise().then((response) => {
|
||||||
|
console.log(response)
|
||||||
|
})
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
if (callback) {
|
if (callback) {
|
||||||
instance.removeEventCallback(callback);
|
instance.removeEventCallback(callback);
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ const msalInstance: PublicClientApplication = new PublicClientApplication({
|
|||||||
console.log(msalInstance);
|
console.log(msalInstance);
|
||||||
|
|
||||||
console.log('ClientId :' + import.meta.env.VITE_CLIENT_ID)
|
console.log('ClientId :' + import.meta.env.VITE_CLIENT_ID)
|
||||||
|
console.log('TenantId :' + import.meta.env.VITE_TENANT_ID)
|
||||||
|
console.log('RedirectUrl :' + import.meta.env.VITE_REDIRECT_URL)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
msalInstance.initialize().then(() => {
|
msalInstance.initialize().then(() => {
|
||||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||||
|
|||||||
Reference in New Issue
Block a user