Refactoring
This commit is contained in:
@@ -125,6 +125,10 @@ const SiteNav: React.FC<unknown> = () => {
|
||||
}
|
||||
);
|
||||
|
||||
instance.handleRedirectPromise().then((response) => {
|
||||
console.log(response)
|
||||
})
|
||||
|
||||
return () => {
|
||||
if (callback) {
|
||||
instance.removeEventCallback(callback);
|
||||
|
||||
@@ -19,6 +19,10 @@ const msalInstance: PublicClientApplication = new PublicClientApplication({
|
||||
console.log(msalInstance);
|
||||
|
||||
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(() => {
|
||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
|
||||
Reference in New Issue
Block a user