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.

style(referrals): use a plain hyphen for the empty-value placeholder

nirholasb82647eefd88
diff --git a/src/dashboard-next/pages/referrals.js b/src/dashboard-next/pages/referrals.js
index d4e7cbdfd..7945e15c9 100644
--- a/src/dashboard-next/pages/referrals.js
+++ b/src/dashboard-next/pages/referrals.js
@@ -57,7 +57,7 @@ function fmtUsd(n) {
/** A conversion rate the API left null (empty prior stage) reads as a dash, never a fake 0%. */
function fmtPct(n) {
- return n == null ? '—' : `${Number(n).toLocaleString('en-US', { maximumFractionDigits: 1 })}%`;
+ return n == null ? '-' : `${Number(n).toLocaleString('en-US', { maximumFractionDigits: 1 })}%`;
}
/**
@@ -118,17 +118,17 @@ function expLabel(memberSince) {
}
function memberSinceLabel(memberSince) {
- if (!memberSince) return '—';
+ if (!memberSince) return '-';
const d = new Date(memberSince);
- if (Number.isNaN(d.getTime())) return '—';
+ if (Number.isNaN(d.getTime())) return '-';
return d.toLocaleDateString('en-US', { month: 'short', year: 'numeric' });
}
/** "Jun 21, 2026": full signup date for the referrals table. */
function fmtDate(value) {
- if (!value) return '—';
+ if (!value) return '-';
const d = new Date(value);
- if (Number.isNaN(d.getTime())) return '—';
+ if (Number.isNaN(d.getTime())) return '-';
return d.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' });
}