MCPcopy Create free account
hub / github.com/Surfer-Org/Protocol / handleThemeToggle

Function handleThemeToggle

desktop/src/renderer/components/Header.jsx:684–686  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

682 };
683
684 const handleThemeToggle = () => {
685 setTheme(theme === 'dark' ? 'light' : 'dark');
686 };
687
688 return (
689 <StyledSurferHeader theme={theme} className="bg-background text-foreground">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected