From 6cf2a879d506cb4961dff970d84d66e310c381cd Mon Sep 17 00:00:00 2001 From: Pallavi Das Date: Thu, 23 May 2024 13:26:20 -0700 Subject: [PATCH] ran prettier --- frontend/src/components/ItemGroup.tsx | 9 ++++++++- frontend/src/components/NavbarSignedIn.tsx | 6 +++--- frontend/src/pages/ItemsPage.tsx | 18 +++++++++--------- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/ItemGroup.tsx b/frontend/src/components/ItemGroup.tsx index 9481379..26f4ff7 100644 --- a/frontend/src/components/ItemGroup.tsx +++ b/frontend/src/components/ItemGroup.tsx @@ -25,7 +25,14 @@ type ItemGroupProps = { const ItemGroup: React.FC = ({ category, items }) => { return ( - + {category} diff --git a/frontend/src/components/NavbarSignedIn.tsx b/frontend/src/components/NavbarSignedIn.tsx index a4b64bb..fd66f77 100644 --- a/frontend/src/components/NavbarSignedIn.tsx +++ b/frontend/src/components/NavbarSignedIn.tsx @@ -61,11 +61,11 @@ const NavbarSignedIn = ({ stateVariable, updateState }: Props) => { const handleGroupsClick = () => { navigate("/groups"); - } + }; const handleItemsClick = () => { navigate("/items"); - } + }; return ( @@ -83,7 +83,7 @@ const NavbarSignedIn = ({ stateVariable, updateState }: Props) => { - My Items + My Items My Groups