@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 CHANGED
@@ -375,6 +375,7 @@ var AuthProvider = ({ children }) => {
375
375
  localStorage.removeItem("token");
376
376
  delete api_default.defaults.headers.common["Authorization"];
377
377
  setUser(null);
378
+ setNeedsOnboarding(false);
378
379
  } finally {
379
380
  setIsLoading(false);
380
381
  }
@@ -401,6 +402,7 @@ var AuthProvider = ({ children }) => {
401
402
  delete api_default.defaults.headers.common["Authorization"];
402
403
  setUser(null);
403
404
  setCompanyBranding(null);
405
+ setNeedsOnboarding(false);
404
406
  };
405
407
  const refreshUser = async () => {
406
408
  await fetchUser();
@@ -5426,3 +5428,4 @@ var isTenantAuthenticated = () => {
5426
5428
  validateThemeAccessibility,
5427
5429
  withNotifications
5428
5430
  });
5431
+ //# sourceMappingURL=index.js.map