From 4834cfb3ff9e654db176cfc9b431f7155ff28e53 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 20 Jul 2024 21:03:22 +0530 Subject: [PATCH] Inline --- .../photos/src/components/pages/gallery/Navbar.tsx | 6 ++++-- .../shared/components/Navbar/SidebarToggler.tsx | 13 ------------- 2 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 web/packages/shared/components/Navbar/SidebarToggler.tsx diff --git a/web/apps/photos/src/components/pages/gallery/Navbar.tsx b/web/apps/photos/src/components/pages/gallery/Navbar.tsx index 95c679134e..f932995aea 100644 --- a/web/apps/photos/src/components/pages/gallery/Navbar.tsx +++ b/web/apps/photos/src/components/pages/gallery/Navbar.tsx @@ -1,8 +1,8 @@ import { EnteFile } from "@/new/photos/types/file"; import { FlexWrapper, HorizontalFlex } from "@ente/shared/components/Container"; -import SidebarToggler from "@ente/shared/components/Navbar/SidebarToggler"; import NavbarBase from "@ente/shared/components/Navbar/base"; import ArrowBack from "@mui/icons-material/ArrowBack"; +import MenuIcon from "@mui/icons-material/Menu"; import { IconButton, Typography } from "@mui/material"; import SearchBar from "components/Search/SearchBar"; import UploadButton from "components/Upload/UploadButton"; @@ -53,7 +53,9 @@ export function GalleryNavbar({ ) : ( <> {!isInSearchMode && ( - + + + )} void; -} -export default function SidebarToggler({ openSidebar }: Iprops) { - return ( - - - - ); -}