Skip to content

Commit

Permalink
Storybook: fix DataViews layout (#66999)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal authored Nov 14, 2024
1 parent 2e5ba3b commit 46ab740
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const Default = () => {
const [ view, setView ] = useState< View >( {
...DEFAULT_VIEW,
fields: [ 'title', 'description', 'categories' ],
layout: defaultLayouts[ DEFAULT_VIEW.type ].layout,
} );
const { data: shownData, paginationInfo } = useMemo( () => {
return filterSortAndPaginate( data, view, fields );
Expand Down

0 comments on commit 46ab740

Please sign in to comment.