Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(billing): keep the Premium pass heading when its panel fails to load

nirholasf3669e6bc0ab
diff --git a/src/dashboard-next/pages/billing.js b/src/dashboard-next/pages/billing.js
index 33d7a1bf5..e04984fc9 100644
--- a/src/dashboard-next/pages/billing.js
+++ b/src/dashboard-next/pages/billing.js
@@ -44,10 +44,14 @@ const solscan = (sig) => `https://solscan.io/tx/${encodeURIComponent(sig)}`;
function renderPremium(data) {
const el = $('bl-premium');
if (!data) {
- el.innerHTML = errorStateHTML({
- title: 'Couldn’t load your passes',
- body: 'The premium endpoint did not answer. Your passes and keys are unaffected; retry in a moment.',
- });
+ el.innerHTML = `
+ <section class="dn-panel">
+ <div class="bl-panel-head"><h2>Premium pass</h2></div>
+ ${errorStateHTML({
+ title: 'Couldn’t load your passes',
+ body: 'The premium endpoint did not answer. Your passes and keys are unaffected; retry in a moment.',
+ })}
+ </section>`;
return;
}
const { active, passes, keys, plan } = data;