Loading src/app/page.tsx +4 −6 Original line number Diff line number Diff line "use server"; import { redirect } from "next/navigation"; export default function Home() { return ( <> <h1>Welcome to trading bot Dashboard</h1> </> ); export default async function Home() { redirect("/app"); } Loading
src/app/page.tsx +4 −6 Original line number Diff line number Diff line "use server"; import { redirect } from "next/navigation"; export default function Home() { return ( <> <h1>Welcome to trading bot Dashboard</h1> </> ); export default async function Home() { redirect("/app"); }