@propknot/shared-ui 1.0.11 → 1.0.14
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 +3 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -310,6 +310,7 @@ var AuthProvider = ({ children }) => {
|
|
|
310
310
|
localStorage.removeItem("token");
|
|
311
311
|
delete api_default.defaults.headers.common["Authorization"];
|
|
312
312
|
setUser(null);
|
|
313
|
+
setNeedsOnboarding(false);
|
|
313
314
|
} finally {
|
|
314
315
|
setIsLoading(false);
|
|
315
316
|
}
|
|
@@ -336,6 +337,7 @@ var AuthProvider = ({ children }) => {
|
|
|
336
337
|
delete api_default.defaults.headers.common["Authorization"];
|
|
337
338
|
setUser(null);
|
|
338
339
|
setCompanyBranding(null);
|
|
340
|
+
setNeedsOnboarding(false);
|
|
339
341
|
};
|
|
340
342
|
const refreshUser = async () => {
|
|
341
343
|
await fetchUser();
|
|
@@ -5440,3 +5442,4 @@ export {
|
|
|
5440
5442
|
validateThemeAccessibility,
|
|
5441
5443
|
withNotifications
|
|
5442
5444
|
};
|
|
5445
|
+
//# sourceMappingURL=index.mjs.map
|