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

Function handleThemeChange

src/components/ThemeSelector.tsx:31–33  ·  view source on GitHub ↗
(theme: Theme)

Source from the content-addressed store, hash-verified

29 ];
30
31 const handleThemeChange = (theme: Theme) => {
32 settingStore.setTheme(theme);
33 };
34
35 return <Select className="w-auto min-w-[120px]" value={theme} itemList={themeItemList} onValueChange={handleThemeChange} />;
36};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected