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

reactotron-core-ui: Image Overlay is broken with Warning: Cannot update a component (t) while rendering a different component (Provider) #1542

Open
jamonholmgren opened this issue Feb 28, 2025 · 0 comments · May be fixed by #1544

Comments

@jamonholmgren
Copy link
Member

Describe the bug

When applying an image overlay, I'm getting this error:

Warning: Cannot update a component (`t`) while rendering a different component (`Provider`). To locate the bad setState() call inside `Provider`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
    at Provider (webpack-internal:///./src/renderer/contexts/Standalone/index.tsx:25:3)
    at Provider (webpack-internal:///./src/renderer/contexts/Layout/index.tsx:16:3)
    at RootContextProvider (webpack-internal:///./src/renderer/contexts/index.tsx:10:3)
    at Router (webpack-internal:///../../node_modules/react-router/dist/index.js:1193:15)
    at HashRouter (webpack-internal:///../../node_modules/react-router-dom/dist/index.js:766:5)
    at App
    at div
    at O (webpack-internal:///../../node_modules/styled-components/dist/styled-components.browser.esm.js:27:23707)
    at tt (webpack-internal:///../../node_modules/styled-components/dist/styled-components.browser.esm.js:27:20427)
    at ReactotronAppProvider (webpack-internal:///../../lib/reactotron-core-ui/dist/index.esm.js:603:15)

I'm running with a local Reactotron dev build but also seems broken in prod.

Reactotron version

[email protected]

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

Successfully merging a pull request may close this issue.

1 participant