Skip to content

Commit 319c214

Browse files
committed
fix(dataviews): drop generic JSX syntax from registerLayout story
`<DataViews< PaymentMethod >` is a valid TS-in-JSX generic call form, but no other Gutenberg story uses it. Some Storybook/Babel setups don't parse it, which can silently drop the story from the sidebar. Rely on inference instead, matching the existing story convention. Refs: none
1 parent 0d01570 commit 319c214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/dataviews/src/stories/register-layout-poc.story.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const PocCardRows = () => {
244244
} as View );
245245

246246
return (
247-
<DataViews< PaymentMethod >
247+
<DataViews
248248
data={ methods }
249249
fields={ methodFields }
250250
view={ view }

0 commit comments

Comments
 (0)