@axa-fr/react-oidc 5.13.10 → 5.13.11
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/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -535,8 +535,9 @@ export default function Layout({ children }) {
|
|
|
535
535
|
replaceState: (url) => {
|
|
536
536
|
router.replace({
|
|
537
537
|
pathname: url,
|
|
538
|
+
}).then(() => {
|
|
539
|
+
window.dispatchEvent(new Event('popstate'));
|
|
538
540
|
});
|
|
539
|
-
window.dispatchEvent(new Event('popstate'));
|
|
540
541
|
}
|
|
541
542
|
};
|
|
542
543
|
};
|