Commit 9726eca
committed
Fix props passed to Root in playground-preview view
Changed to use ViewProps type and pass correct props to Root component:
- Changed {context} to {context: {storage}} to match other views
- Changed path="/playground-preview" to url="/playground-preview"
- Added ViewProps import from router.ts
This fixes the "undefined is not an object (evaluating 'url.startsWith')"
error in the Navbar component.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 38bb65c commit 9726eca
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
105 | | - | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments