@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "25.8.10-9",
3
+ "version": "25.8.15",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -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
@@ -131,5 +131,5 @@
131
131
  "noEmit": true,
132
132
  "jsx": "react-jsx"
133
133
  },
134
- "include": ["src"]
134
+ "include": ["src"]
135
135
  }