MCPcopy Create free account
hub / github.com/Moebytes/Frame-Player / initTheme

Function initTheme

LocalStorage.tsx:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62 useEffect(() => {
63 const initTheme = async () => {
64 const savedTheme = await window.ipcRenderer.invoke("get-theme")
65 if (savedTheme) setTheme(savedTheme as Themes)
66 }
67 initTheme()
68 }, [])
69

Callers 1

LocalStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected