Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiprodcoder/MIXAPI
/ useSetTheme
Function
useSetTheme
web/src/context/Theme/index.js:7–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
6
const
SetThemeContext = createContext(null);
7
export
const
useSetTheme = () => useContext(SetThemeContext);
8
9
export
const
ThemeProvider = ({ children }) => {
10
const
[theme, _setTheme] = useState(() => {
Callers
1
HeaderBar
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected