Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Dec 17, 2024
1 parent a848a27 commit ad293c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/docs/components/AppDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit ad293c5

Please sign in to comment.