style: prettier
This commit is contained in:
parent
273b41d243
commit
3f77d16f0b
|
@ -1,20 +1,17 @@
|
|||
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 (
|
||||
<Authenticated key="dashboard" v3LegacyAuthProviderCompatible>
|
||||
<GeneralLayout>
|
||||
<h1 className="font-bold mb-4 text-3xl">Dashboard</h1>
|
||||
<UpgradeAccountBanner />
|
||||
|
@ -45,7 +42,7 @@ export default function Dashboard() {
|
|||
dataset={[
|
||||
{ x: "3/2", y: "50" },
|
||||
{ x: "3/3", y: "10" },
|
||||
{ x: "3/4", y: "20" }
|
||||
{ x: "3/4", y: "20" },
|
||||
]}
|
||||
label="Storage"
|
||||
/>
|
||||
|
@ -53,7 +50,7 @@ export default function Dashboard() {
|
|||
dataset={[
|
||||
{ x: "3/2", y: "50" },
|
||||
{ x: "3/3", y: "10" },
|
||||
{ x: "3/4", y: "20" }
|
||||
{ x: "3/4", y: "20" },
|
||||
]}
|
||||
label="Download"
|
||||
/>
|
||||
|
@ -61,11 +58,12 @@ export default function Dashboard() {
|
|||
dataset={[
|
||||
{ x: "3/2", y: "50" },
|
||||
{ x: "3/3", y: "10" },
|
||||
{ x: "3/4", y: "20" }
|
||||
{ x: "3/4", y: "20" },
|
||||
]}
|
||||
label="Upload"
|
||||
/>
|
||||
</div>
|
||||
</GeneralLayout>
|
||||
)
|
||||
</Authenticated>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue