fixed theme button icon switched

This commit is contained in:
Kim, Jimin 2021-05-17 16:18:39 +09:00
parent 25e9c10e26
commit e06ee9360c

View file

@ -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">