@asaleh37/ui-base 25.8.1-5.3 → 25.8.1-5.4
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 +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/BaseApp.tsx +4 -2
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ library.add(far);
|
|
|
25
25
|
library.add(fas);
|
|
26
26
|
|
|
27
27
|
export const BaseApp: React.FC<AppInfo> = (props) => {
|
|
28
|
-
let store =
|
|
28
|
+
let store = null;
|
|
29
29
|
const initializeApp = () => {
|
|
30
30
|
const systemReducers = {
|
|
31
31
|
AppLayout: AppLayoutReducer,
|
|
@@ -52,7 +52,9 @@ export const BaseApp: React.FC<AppInfo> = (props) => {
|
|
|
52
52
|
useEffect(() => {
|
|
53
53
|
initializeApp();
|
|
54
54
|
}, [props]);
|
|
55
|
-
return (
|
|
55
|
+
return store === null ? (
|
|
56
|
+
<></>
|
|
57
|
+
) : (
|
|
56
58
|
<Provider store={store}>
|
|
57
59
|
<App {...props} />
|
|
58
60
|
</Provider>
|