forgot to remove useless access token in functions

This commit is contained in:
Camille Moussu
2025-07-15 17:02:17 +02:00
parent 7507d09d72
commit 6e02373ea0
+2 -2
View File
@@ -22,8 +22,8 @@ export function CallbackResume() {
const data = await Callback(saved?.code_verifier, saved?.state);
dispatch(setUserData(data?.userinfo));
dispatch(setTokens(data?.tokenSet));
dispatch(getOpenPaasUserIdAsync(data?.tokenSet.access_token ?? ""));
dispatch(getCalendarsListAsync(data?.tokenSet.access_token ?? ""));
dispatch(getOpenPaasUserIdAsync());
dispatch(getCalendarsListAsync());
sessionStorage.removeItem("redirectState");
sessionStorage.setItem("tokenSet", JSON.stringify(data?.tokenSet));