File tree 1 file changed +1
-21
lines changed 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,12 @@ import PropTypes from "prop-types";
22
22
import React from "react" ;
23
23
// Assets
24
24
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" ;
27
26
import { FaEthereum } from "react-icons/fa" ;
28
27
import routes from "routes.js" ;
29
28
import { ThemeEditor } from "./ThemeEditor" ;
30
29
export default function HeaderLinks ( props ) {
31
30
const { secondary } = props ;
32
- const { colorMode, toggleColorMode } = useColorMode ( ) ;
33
31
// Chakra Color Mode
34
32
const navbarIcon = useColorModeValue ( "gray.400" , "white" ) ;
35
33
let menuBg = useColorModeValue ( "white" , "navy.800" ) ;
@@ -206,24 +204,6 @@ export default function HeaderLinks(props) {
206
204
</ MenuList >
207
205
</ Menu >
208
206
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
-
227
207
< ThemeEditor navbarIcon = { navbarIcon } />
228
208
229
209
< Menu >
You can’t perform that action at this time.
0 commit comments