portal-dashboard/app/routes/dashboard.tsx

16 lines
265 B
TypeScript
Raw Normal View History

import { GeneralLayout } from "~/components/general-layout"
2024-03-07 17:26:11 +00:00
export default function Dashboard() {
const isLogged = true
if (!isLogged) {
window.location.href = "/login"
}
return (
<GeneralLayout>
2024-03-07 17:26:11 +00:00
<div>Hello</div>
</GeneralLayout>
2024-03-07 17:26:11 +00:00
)
}