@asaleh37/ui-base 25.8.10-9 → 25.8.15
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/common/Login.tsx +7 -0
- package/tsconfig.json +1 -1
package/package.json
CHANGED
|
@@ -126,6 +126,13 @@ const Login: React.FC = () => {
|
|
|
126
126
|
useEffect(() => {
|
|
127
127
|
checkUserSession();
|
|
128
128
|
}, [appInfo]);
|
|
129
|
+
|
|
130
|
+
useEffect(() => {
|
|
131
|
+
if (userSession.isAuthenticated === null) {
|
|
132
|
+
console.log("checking usersession on reload", userSession);
|
|
133
|
+
checkUserSession();
|
|
134
|
+
}
|
|
135
|
+
}, [userSession.isAuthenticated]);
|
|
129
136
|
return (
|
|
130
137
|
<ThemeProvider theme={loginTheme}>
|
|
131
138
|
<Paper
|
package/tsconfig.json
CHANGED