Hide label option.

This commit is contained in:
Mike Cao 2021-11-04 15:55:12 -07:00
parent 99861487ea
commit a15dac05d4
2 changed files with 5 additions and 2 deletions

View file

@ -37,8 +37,8 @@ export default function LanguageButton() {
options={menuOptions}
value={locale}
menuClassName={styles.menu}
renderValue={option => option?.display}
onSelect={handleSelect}
hideLabel
/>
);
}