diff options
| author | GitHub Action <[email protected]> | 2026-01-23 16:22:07 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2026-01-23 16:22:07 +0000 |
| commit | 4f1bdf1c59c60469b4713dab58dfe106c9e379ba (patch) | |
| tree | f6bbe74d380a08f6431601bdcc55153522bc6ee6 | |
| parent | 472695caca90c84fc1c7c9faae1ec7da19d0caae (diff) | |
| download | opencode-4f1bdf1c59c60469b4713dab58dfe106c9e379ba.tar.gz opencode-4f1bdf1c59c60469b4713dab58dfe106c9e379ba.zip | |
chore: generate
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id]/index.tsx | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/packages/console/app/src/routes/workspace/[id]/index.tsx b/packages/console/app/src/routes/workspace/[id]/index.tsx index 15dc6087a..2165ac98e 100644 --- a/packages/console/app/src/routes/workspace/[id]/index.tsx +++ b/packages/console/app/src/routes/workspace/[id]/index.tsx @@ -43,16 +43,19 @@ export default function () { </span> <Show when={userInfo()?.isAdmin}> <span data-slot="billing-info"> - <Show when={billingInfo()?.customerID} fallback={ - <button - data-color="primary" - data-size="sm" - disabled={checkoutSubmission.pending || store.checkoutRedirecting} - onClick={onClickCheckout} - > - {checkoutSubmission.pending || store.checkoutRedirecting ? "Loading..." : "Enable billing"} - </button> - }> + <Show + when={billingInfo()?.customerID} + fallback={ + <button + data-color="primary" + data-size="sm" + disabled={checkoutSubmission.pending || store.checkoutRedirecting} + onClick={onClickCheckout} + > + {checkoutSubmission.pending || store.checkoutRedirecting ? "Loading..." : "Enable billing"} + </button> + } + > <span data-slot="balance"> Current balance <b>${balance()}</b> </span> |
