From 3f77d16f0b9ecc1f77772d9bf91d461869622063 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 13 Mar 2024 13:33:03 -0400 Subject: [PATCH] style: prettier --- app/routes/dashboard.tsx | 126 +++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 64 deletions(-) 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

+
+ + + +
+
+
+ ); }