Commit c1e2800
committed
fix(dataviews): remove unimported React.ComponentType from story decorator
The registerLayout story annotated its decorator param as
React.ComponentType but never imported React. TypeScript failed to
compile the file, which caused Storybook to silently drop the story
from the sidebar (pre-commit ESLint doesn't run tsc).
Let Storybook infer the Story param type from Meta<typeof DataViews>.
Refs: none1 parent 319c214 commit c1e2800
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments