import { useNavigate } from "@solidjs/router"; import type { Component } from "solid-js"; const AppIndex: Component = () => { const navigate = useNavigate(); // this should be a trpc request to allow the user to change it navigate("/app/uk.ewsgit.dashboard"); return null; }; export default AppIndex;