Skip to content

Commit

Permalink
refactor(preact-components/recommendationgrid): clean up story args
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisFrazier77 committed Sep 3, 2024
1 parent 79d8de6 commit 6e3ecba
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ List.loaders = [
];

export const Grid = (args: RecommendationGridProps, { loaded: { controller } }: { loaded: { controller: RecommendationController } }) => {
return <RecommendationGrid columns={4} {...args} controller={controller} results={controller?.store?.results} />;
return <RecommendationGrid {...args} controller={controller} results={controller?.store?.results} />;
};

Grid.args = {
columns: 4,
};

Grid.loaders = [
Expand Down

0 comments on commit 6e3ecba

Please sign in to comment.