You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only the await dispatch(projectGetById(id)); is called on the edit page and i recieve error ReferenceError: Cannot access 'projectUpdateCommonInfo' before initialization.
If I make a slice ordinary, without lazy loading and add it directly to the rootReducer, then everything works without errors.
Please tell me where my mistake is.
The text was updated successfully, but these errors were encountered:
zz707
changed the title
extraReducer 'ReferenceError: Cannot access before initialization' with inject
extraReducers 'ReferenceError: Cannot access before initialization' with inject
Mar 25, 2024
store.ts
projectEditSlice.ts
projectUpdateCommonInfo.ts
Only the
await dispatch(projectGetById(id));
is called on the edit page and i recieve errorReferenceError: Cannot access 'projectUpdateCommonInfo' before initialization
.If I make a slice ordinary, without lazy loading and add it directly to the rootReducer, then everything works without errors.
Please tell me where my mistake is.
The text was updated successfully, but these errors were encountered: