fixed theme button icon switched
This commit is contained in:
parent
25e9c10e26
commit
e06ee9360c
1 changed files with 2 additions and 2 deletions
|
@ -37,10 +37,10 @@ function Navbar() {
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{_theme.mode == "dark" && (
|
{_theme.mode == "dark" && (
|
||||||
<FontAwesomeIcon icon={faSun} />
|
<FontAwesomeIcon icon={faMoon} />
|
||||||
)}
|
)}
|
||||||
{_theme.mode == "light" && (
|
{_theme.mode == "light" && (
|
||||||
<FontAwesomeIcon icon={faMoon} />
|
<FontAwesomeIcon icon={faSun} />
|
||||||
)}
|
)}
|
||||||
</StyledThemeButton>
|
</StyledThemeButton>
|
||||||
<ReactTooltip id="theme" type="dark" effect="solid">
|
<ReactTooltip id="theme" type="dark" effect="solid">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue