diff --git a/app/routes/dashboard.tsx b/app/routes/dashboard.tsx index fed7bc6..450d157 100644 --- a/app/routes/dashboard.tsx +++ b/app/routes/dashboard.tsx @@ -1,71 +1,69 @@ -import { GeneralLayout } from "~/components/general-layout" +import { GeneralLayout } from "~/components/general-layout"; import { CloudIcon, CloudDownloadIcon, - CloudUploadSolidIcon -} from "~/components/icons" -import { UpgradeAccountBanner } from "~/components/upgrade-account-banner" -import { UsageCard } from "~/components/usage-card" -import { UsageChart } from "~/components/usage-chart" + CloudUploadSolidIcon, +} from "~/components/icons"; +import { UpgradeAccountBanner } from "~/components/upgrade-account-banner"; +import { UsageCard } from "~/components/usage-card"; +import { UsageChart } from "~/components/usage-chart"; +import { Authenticated } from "@refinedev/core"; export default function Dashboard() { - const isLogged = true - if (!isLogged) { - window.location.href = "/login" - } - return ( - - Dashboard - - Current Usage - - } - /> - } - /> - } - /> - - Historical Usage - - - - - - - ) + + + Dashboard + + Current Usage + + } + /> + } + /> + } + /> + + Historical Usage + + + + + + + + ); }