Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preloadedState error in store.ts? #325

Open
windowshopr opened this issue Apr 20, 2024 · 1 comment
Open

preloadedState error in store.ts? #325

windowshopr opened this issue Apr 20, 2024 · 1 comment

Comments

@windowshopr
Copy link

image

@windowshopr
Copy link
Author

Fixed with this:

const store = configureStore({
  reducer: rootReducer,
  preloadedState: preloadedState as Partial<{ settings: never; queues: never; tasks: never; groups: never; servers: never; schedulerEntries: never; snackbar: never; queueStats: never; redis: never; metrics: never; }>,
});

...Now presented with this in browser:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant