Skip to content

Commit 88a824c

Browse files
committed
fix conditional envs
1 parent 2181b3a commit 88a824c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/abstraxion/src/hooks/useWalletAuth.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ export function useWalletAuth({
118118
const [error, setError] = useState<string | null>(null);
119119

120120
// Default to testnet AA API URL (matching dashboard .env.testnet)
121-
const aaApiUrl = config.aaApiUrl || 'http://localhost:8787';
121+
const aaApiUrl = config.aaApiUrl || '';
122122

123123
// Default indexer configuration (testnet Numia)
124-
const indexerUrl = config.indexer?.url || 'https://xion-testnet-2.numia.xyz/v3/';
125-
const indexerToken = config.indexer?.authToken || 'sk_d5ba275e7f8c41968385d2aab4d00f7e';
124+
const indexerUrl = config.indexer?.url || '';
125+
const indexerToken = config.indexer?.authToken || '';
126126

127127
// Initialize indexer strategy
128128
const indexer = new NumiaIndexerStrategy(indexerUrl, indexerToken);

0 commit comments

Comments
 (0)