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

Function App

App.tsx:22–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22const App = () => {
23 const {fxDialogActive} = useActiveSelector()
24 const {setHover} = useActiveActions()
25
26 useEffect(() => {
27 window.ipcRenderer.on("debug", console.log)
28 }, [])
29
30 return (
31 <main className="app" onMouseEnter={() => setHover(true)} onMouseLeave={() => !fxDialogActive && setHover(false)}>
32 <TitleBar/>
33 <ContextMenu/>
34 <LocalStorage/>
35 <LinkDialog/>
36 <FXDialog/>
37 <ExportDialog/>
38 <VideoPlayer/>
39 </main>
40 )
41}
42
43const root = createRoot(document.getElementById("root")!)
44root.render(<Provider store={store}><App/></Provider>)

Callers

nothing calls this directly

Calls 2

useActiveSelectorFunction · 0.85
useActiveActionsFunction · 0.85

Tested by

no test coverage detected