Skip to content

Commit 97623f7

Browse files
committed
chore: code cleaning
1 parent e166e3c commit 97623f7

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

src/components/navbar/NavbarLinksAdmin.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ import PropTypes from "prop-types";
2222
import React from "react";
2323
// Assets
2424
import navImage from "assets/img/layout/Navbar.png";
25-
import { MdNotificationsNone, MdInfoOutline, MdPalette } from "react-icons/md";
26-
import { IoMdMoon, IoMdSunny } from "react-icons/io";
25+
import { MdNotificationsNone, MdInfoOutline } from "react-icons/md";
2726
import { FaEthereum } from "react-icons/fa";
2827
import routes from "routes.js";
2928
import { ThemeEditor } from "./ThemeEditor";
3029
export default function HeaderLinks(props) {
3130
const { secondary } = props;
32-
const { colorMode, toggleColorMode } = useColorMode();
3331
// Chakra Color Mode
3432
const navbarIcon = useColorModeValue("gray.400", "white");
3533
let menuBg = useColorModeValue("white", "navy.800");
@@ -206,24 +204,6 @@ export default function HeaderLinks(props) {
206204
</MenuList>
207205
</Menu>
208206

209-
{/* <Button
210-
variant='no-hover'
211-
bg='transparent'
212-
p='0px'
213-
minW='unset'
214-
minH='unset'
215-
h='18px'
216-
w='max-content'
217-
onClick={toggleColorMode}>
218-
<Icon
219-
me='10px'
220-
h='18px'
221-
w='18px'
222-
color={navbarIcon}
223-
as={colorMode === "light" ? IoMdMoon : IoMdSunny}
224-
/>
225-
</Button> */}
226-
227207
<ThemeEditor navbarIcon={navbarIcon} />
228208

229209
<Menu>

0 commit comments

Comments
 (0)