added localization to locale toggle button

This commit is contained in:
Kim, Jimin 2022-03-26 21:23:31 +09:00
parent 8c8e363915
commit a2db39e1fe

View file

@ -38,7 +38,7 @@ const LocaleToggleButton = () => {
<FontAwesomeIcon icon={faLanguage} />
</StyledLocaleToggleButton>
<ReactTooltip id="locale" type="dark" effect="solid">
<span>Locale: {globalState.locale}</span>
<span>{globalState.locale == "en" ? "English" : "한국어"} </span>
</ReactTooltip>
</>
)