|
|
@@ -2,10 +2,8 @@ import { Match, Show, Switch, createMemo } from "solid-js"
|
|
|
import { createStore } from "solid-js/store"
|
|
|
import { createAsync, useParams, useAction, useSubmission } from "@solidjs/router"
|
|
|
import { NewUserSection } from "./new-user-section"
|
|
|
-import { UsageSection } from "./usage-section"
|
|
|
import { ModelSection } from "./model-section"
|
|
|
import { ProviderSection } from "./provider-section"
|
|
|
-import { GraphSection } from "./graph-section"
|
|
|
import { IconLogo } from "~/component/icon"
|
|
|
import { querySessionInfo, queryBillingInfo, createCheckoutUrl, formatBalance } from "../common"
|
|
|
import { useI18n } from "~/context/i18n"
|
|
|
@@ -73,14 +71,10 @@ export default function () {
|
|
|
|
|
|
<div data-slot="sections">
|
|
|
<NewUserSection />
|
|
|
- <Show when={userInfo()?.isAdmin}>
|
|
|
- <GraphSection />
|
|
|
- </Show>
|
|
|
<ModelSection />
|
|
|
<Show when={userInfo()?.isAdmin}>
|
|
|
<ProviderSection />
|
|
|
</Show>
|
|
|
- <UsageSection />
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|