Fixed issue with hover tooltips.

This commit is contained in:
Mike Cao committed 2023-06-15 20:15:31 -07:00
1 parent 2b13002f1b
commit ab0838e272
20 files changed
+50 -91

No files matched your search

+2 -1
View File
@@ -9,7 +9,8 @@ export function LanguageButton() {
const { locale, saveLocale, dir } = useLocale();
const items = Object.keys(languages).map(key => ({ ...languages[key], value: key }));
function handleSelect(value, close) {
function handleSelect(value, close, e) {
e.stopPropagation();
saveLocale(value);
close();
}