portal-dashboard/app/routes/dashboard.tsx

15 lines
272 B
TypeScript
Raw Normal View History

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