From b97228cfa147ba1683bdafd3eb346a50bb416151 Mon Sep 17 00:00:00 2001 From: Aaron William Po Date: Fri, 2 Jun 2023 19:51:26 -0400 Subject: [PATCH] Fix: update deprecated button group (daisy ui) to `join` --- .../BeerBreweryComments/EditCommentBody.tsx | 8 ++--- .../BeerIndex/BeerIndexPaginationBar.tsx | 32 ------------------- src/components/ui/Navbar.tsx | 10 +++--- 3 files changed, 9 insertions(+), 41 deletions(-) delete mode 100644 src/components/BeerIndex/BeerIndexPaginationBar.tsx diff --git a/src/components/BeerBreweryComments/EditCommentBody.tsx b/src/components/BeerBreweryComments/EditCommentBody.tsx index 704bc3d..9190d47 100644 --- a/src/components/BeerBreweryComments/EditCommentBody.tsx +++ b/src/components/BeerBreweryComments/EditCommentBody.tsx @@ -121,10 +121,10 @@ const EditCommentBody: FC = ({ ))} -
+
- - - -
- ); -}; - -export default BeerIndexPaginationBar; diff --git a/src/components/ui/Navbar.tsx b/src/components/ui/Navbar.tsx index 7f05436..09d5964 100644 --- a/src/components/ui/Navbar.tsx +++ b/src/components/ui/Navbar.tsx @@ -12,11 +12,11 @@ const DesktopLinks: FC = () => { return (
-
    +
      {pages.map((page) => { return ( -
    • - +
    • + { const { theme, setTheme } = useTheme(); return ( - +
); }; export default Navbar;