Skip to content

Commit 8971509

Browse files
committed
fix: clean up documentation and remove unused chain reference in Privy config
- Corrected the return type documentation in the TokensContext function. - Removed baseSepolia from the supportedChains list in PrivyClientConfig as it is no longer needed.
1 parent 699bf8e commit 8971509

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/lib/privy-config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { arbitrum, base, bsc, polygon, lisk, mainnet, baseSepolia } from "viem/chains";
1+
import { arbitrum, base, bsc, polygon, lisk, mainnet } from "viem/chains";
22
import {
33
addRpcUrlOverrideToChain,
44
type PrivyClientConfig,
@@ -25,8 +25,7 @@ const baseConfig: Omit<PrivyClientConfig, "appearance"> = {
2525
},
2626
},
2727
},
28-
supportedChains: [mainnet, base, baseSepolia, bscOverride, arbitrum, polygon, lisk],
29-
defaultChain: baseSepolia,
28+
supportedChains: [mainnet, base, bscOverride, arbitrum, polygon, lisk],
3029
};
3130

3231
export const lightModeConfig: PrivyClientConfig = {

app/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ export const FALLBACK_TOKENS: { [key: string]: Token[] } = {
375375
* The TokensContext handles bulk fetching for all networks.
376376
*
377377
* @param network - The network name (e.g., "Base", "Arbitrum One")
378-
* @returns Array of supported tokens for the specified networkeeeeeeeeeeeeeeeeeeeeeeeeeee
378+
* @returns Array of supported tokens for the specified network
379379
*/
380380

381381
// Track ongoing fetch to prevent race conditions

0 commit comments

Comments
 (0)