()
| 7 | import { Chart } from "./chart/Chart"; |
| 8 | |
| 9 | export const MainSwitcher = () => { |
| 10 | const page = useSelector((state) => state.main.page); |
| 11 | switch (page) { |
| 12 | case "topology": |
| 13 | return <Topology />; |
| 14 | case "editor": |
| 15 | return <Editor />; |
| 16 | default: |
| 17 | return <Editor />; |
| 18 | } |
| 19 | }; |
| 20 | |
| 21 | export const DebuggerSwitcher = () => { |
| 22 | const page = useSelector((state) => state.dbg.page); |
nothing calls this directly
no outgoing calls
no test coverage detected