-
-
Notifications
You must be signed in to change notification settings - Fork 600
Open
Description
Describe the bug
tanstack react form devtools throws this error when loaded, and stops it from working
Uncaught (in promise) Error: useTheme must be used within a ThemeContextProvider
at useTheme (chunk-56NUFDJ6.js?v=d10fd6f2:50:11)
at useStyles (components-2SGOHMA5.js?v=d10fd6f2:626:21)
at Shell (components-2SGOHMA5.js?v=d10fd6f2:927:18)
at chunk-33JTHASM.js?v=d10fd6f2:575:12
at untrack (chunk-33JTHASM.js?v=d10fd6f2:462:12)
at Object.fn (chunk-33JTHASM.js?v=d10fd6f2:571:37)
at runComputation (chunk-33JTHASM.js?v=d10fd6f2:734:22)
at updateComputation (chunk-33JTHASM.js?v=d10fd6f2:717:3)
at devComponent (chunk-33JTHASM.js?v=d10fd6f2:582:3)
at createComponent (chunk-33JTHASM.js?v=d10fd6f2:1295:10)
Your minimal, reproducible example
https://stackblitz.com/github/tanstack/form/tree/main/examples/react/devtools
Steps to reproduce
The default devtools example shows the bug
Open devtools panel, and you will see the error in browser console
Expected behavior
shows the devtools for forms
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
MacOS, Chrome
TanStack Form adapter
None
TanStack Form version
1.28.4
TypeScript version
No response
Additional context
@tanstack/react-form-devtools version: 0.2.17
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels