diff --git a/site/docs/components/AppDemo.tsx b/site/docs/components/AppDemo.tsx index c2e8c4fc5d..9d06653102 100644 --- a/site/docs/components/AppDemo.tsx +++ b/site/docs/components/AppDemo.tsx @@ -12,10 +12,12 @@ import { useTheme } from '../contexts/Theme.tsx'; const queryClient = new QueryClient(); +// Default value to avoid build errors when running locally. const DEFAULT_DEMO_PK = '0x1234567890123456789012345678901234567890123456789012345678901234'; const demoWalletConnector = () => () => { + // Demo account with no real assets const demoWalletPK = import.meta.env.VITE_DEMO_WALLET_PK || DEFAULT_DEMO_PK; const account = privateKeyToAccount(demoWalletPK as `0x${string}`);