import { ErrorBoundary, ParentProps } from "solid-js"; import { Menu } from "~/features/menu"; import { createCommand } from "~/features/command"; import { useNavigate } from "@solidjs/router"; import { ErrorComp } from "~/components/error"; export default function Experimental(props: ParentProps) { const navigate = useNavigate(); const goTo = createCommand('go to', (to: string) => { navigate(`/experimental/${to}`); }); return <> }> {props.children} ; }