analytica.click 0.0.224 → 0.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1364,7 +1364,7 @@ var CognitoAuthProvider = ({
|
|
1364
1364
|
(0, import_react7.useEffect)(() => {
|
1365
1365
|
var _a2;
|
1366
1366
|
const newT = (_a2 = user == null ? void 0 : user.jwt) == null ? void 0 : _a2.id_token;
|
1367
|
-
if (!!newT &&
|
1367
|
+
if (!!newT && newT !== idToken) {
|
1368
1368
|
setIdToken(newT || "");
|
1369
1369
|
}
|
1370
1370
|
}, [idToken, setIdToken, user, (_a = user == null ? void 0 : user.jwt) == null ? void 0 : _a.id_token]);
|