academe-kit 0.7.6 → 0.7.7
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -6344,7 +6344,7 @@ const SecurityProvider = ({ apiBaseUrl = "https://stg-api.academe.com.br", skipA
|
|
|
6344
6344
|
}, []);
|
|
6345
6345
|
// Memoizar o value do context para evitar re-renders desnecessários
|
|
6346
6346
|
const contextValue = useMemo(() => ({
|
|
6347
|
-
isInitialized: !isLoading || isRefreshing,
|
|
6347
|
+
isInitialized: !isLoading || isRefreshing || !!accessToken,
|
|
6348
6348
|
isTokenReady,
|
|
6349
6349
|
user: currentUser,
|
|
6350
6350
|
refreshUserData,
|