Skip to content

Commit

Permalink
remove dark mode toggle from navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
hppanpaliya committed Apr 29, 2023
1 parent 6ac8485 commit 7b6f9ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/NavigationBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from "./StyledComponent";
import darkTheme from "../../theme/darkTheme";
import lightTheme from "../../theme";
import DarkModeSwitch from "../Profile/settings/DarkModeSwitch";


const StyledAppBar = styled(AppBar)(({ theme }) => ({
height: theme.customAppBarHeight,
Expand Down Expand Up @@ -48,8 +48,6 @@ const NavigationBar = () => {
<Toolbar>
<NavigationBarMenu isOpenMenu={isOpenMenu} openDrawer={openDrawer} myTheme={myTheme} />
<NavigationBarTitle />
<DarkModeSwitch />

<NavigationLinks user={user} myTheme={myTheme} />
</Toolbar>
<NavigationDrawer user={user} isOpenMenu={isOpenMenu} closeDrawer={closeDrawer} myTheme={myTheme} />
Expand Down

0 comments on commit 7b6f9ab

Please sign in to comment.