chore: cleanup

This commit is contained in:
Adam
2026-02-09 12:16:26 -06:00
parent a84bdd7cd7
commit 83708c295c
6 changed files with 97 additions and 18 deletions

View File

@@ -9,10 +9,12 @@ import { GraphSection } from "./graph-section"
import { IconLogo } from "~/component/icon"
import { querySessionInfo, queryBillingInfo, createCheckoutUrl, formatBalance } from "../common"
import { useI18n } from "~/context/i18n"
import { useLanguage } from "~/context/language"
export default function () {
const params = useParams()
const i18n = useI18n()
const language = useLanguage()
const userInfo = createAsync(() => querySessionInfo(params.id!))
const billingInfo = createAsync(() => queryBillingInfo(params.id!))
const checkoutAction = useAction(createCheckoutUrl)
@@ -38,7 +40,7 @@ export default function () {
<p>
<span>
{i18n.t("workspace.home.banner.beforeLink")}{" "}
<a target="_blank" href="/docs/zen">
<a target="_blank" href={language.route("/docs/zen")}>
{i18n.t("common.learnMore")}
</a>
.