()
| 20 | |
| 21 | |
| 22 | const 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 | |
| 43 | const root = createRoot(document.getElementById("root")!) |
| 44 | root.render(<Provider store={store}><App/></Provider>) |
nothing calls this directly
no test coverage detected