MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / handleLocaleChange

Function handleLocaleChange

src/components/LocaleSelector.tsx:29–31  ·  view source on GitHub ↗
(locale: Locale)

Source from the content-addressed store, hash-verified

27 const locale = settingStore.setting.locale;
28
29 const handleLocaleChange = (locale: Locale) => {
30 settingStore.setLocale(locale);
31 };
32
33 return <Select className="w-28" value={locale} itemList={localeItemList} onValueChange={handleLocaleChange} />;
34};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected