Skip to content

Commit

Permalink
Refactor itemCard function to ItemCard in browse.js
Browse files Browse the repository at this point in the history
  • Loading branch information
eerosahlberg committed Apr 21, 2024
1 parent e4df3a9 commit 1e342f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/item/browse.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function BrowseItems({ items, categories }) {
</Select>

<SimpleGrid columns={{ base: 1, md: 2, lg: 4 }} spacing={10}>
{filteredItems.map((item) => itemCard(item))}
{filteredItems.map((item) => ItemCard(item))}
</SimpleGrid>
</>
);
Expand Down

0 comments on commit 1e342f1

Please sign in to comment.