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.cjs
CHANGED
|
@@ -6346,7 +6346,7 @@ const SecurityProvider = ({ apiBaseUrl = "https://stg-api.academe.com.br", skipA
|
|
|
6346
6346
|
}, []);
|
|
6347
6347
|
// Memoizar o value do context para evitar re-renders desnecessários
|
|
6348
6348
|
const contextValue = React2.useMemo(() => ({
|
|
6349
|
-
isInitialized: !isLoading || isRefreshing,
|
|
6349
|
+
isInitialized: !isLoading || isRefreshing || !!accessToken,
|
|
6350
6350
|
isTokenReady,
|
|
6351
6351
|
user: currentUser,
|
|
6352
6352
|
refreshUserData,
|