Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Update categoriesTab.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
khylpe committed May 2, 2024
1 parent f756255 commit a55089f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/categoriesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default function CategoriesTab() {
key: String(index + 1),
label: category.title,
children:
<div className="w-full flex flex-row justify-center">
<RessourcesCaroussel categoryId={category.id} />
<div className="w-full flex flex-row justify-center">
<RessourcesCaroussel categoryId={category.id} />
</div>,
}));
setTabs(items);
Expand All @@ -36,6 +36,6 @@ export default function CategoriesTab() {
}, []);

return (
<Tabs className="w-full" size="large" defaultActiveKey="1" items={tabs} />
<Tabs type="card" className="w-full" size="large" defaultActiveKey="1" items={tabs} />
)
}

0 comments on commit a55089f

Please sign in to comment.