diff --git a/examples/react/src/config.ts b/examples/react/src/config.ts index 97f1657a..9b24894f 100644 --- a/examples/react/src/config.ts +++ b/examples/react/src/config.ts @@ -23,33 +23,33 @@ export const kitConfig: KitConfig = { projectName: 'Kit Demo', useMock: isDebugMode }, - displayedAssets: [ - // Native token - { - contractAddress: zeroAddress, - chainId: ChainId.ARBITRUM_NOVA - }, - // Native token - { - contractAddress: zeroAddress, - chainId: ChainId.ARBITRUM_SEPOLIA - }, - // Waas demo NFT - { - contractAddress: '0x0d402c63cae0200f0723b3e6fa0914627a48462e', - chainId: ChainId.ARBITRUM_NOVA - }, - // Waas demo NFT - { - contractAddress: '0x0d402c63cae0200f0723b3e6fa0914627a48462e', - chainId: ChainId.ARBITRUM_SEPOLIA - }, - // Skyweaver assets - { - contractAddress: '0x631998e91476da5b870d741192fc5cbc55f5a52e', - chainId: ChainId.POLYGON - } - ] + // displayedAssets: [ + // // Native token + // { + // contractAddress: zeroAddress, + // chainId: ChainId.ARBITRUM_NOVA + // }, + // // Native token + // { + // contractAddress: zeroAddress, + // chainId: ChainId.ARBITRUM_SEPOLIA + // }, + // // Waas demo NFT + // { + // contractAddress: '0x0d402c63cae0200f0723b3e6fa0914627a48462e', + // chainId: ChainId.ARBITRUM_NOVA + // }, + // // Waas demo NFT + // { + // contractAddress: '0x0d402c63cae0200f0723b3e6fa0914627a48462e', + // chainId: ChainId.ARBITRUM_SEPOLIA + // }, + // // Skyweaver assets + // { + // contractAddress: '0x631998e91476da5b870d741192fc5cbc55f5a52e', + // chainId: ChainId.POLYGON + // } + // ] } export const config = diff --git a/packages/wallet/src/shared/KitWalletProvider/index.tsx b/packages/wallet/src/shared/KitWalletProvider/index.tsx index 7b3fd5ed..54e2b629 100644 --- a/packages/wallet/src/shared/KitWalletProvider/index.tsx +++ b/packages/wallet/src/shared/KitWalletProvider/index.tsx @@ -69,7 +69,9 @@ export const KitWalletContent = ({ children }: KitWalletProviderProps) => { style: { maxWidth: '400px', height: 'fit-content', - ...getModalPositionCss(position) + ...getModalPositionCss(position), + scrollbarColor: 'gray black', + scrollbarWidth: 'thin' } }} scroll={false} diff --git a/packages/wallet/src/views/Search/SearchWallet.tsx b/packages/wallet/src/views/Search/SearchWallet.tsx index 0d66a8ce..bbcf0dc9 100644 --- a/packages/wallet/src/views/Search/SearchWallet.tsx +++ b/packages/wallet/src/views/Search/SearchWallet.tsx @@ -145,20 +145,20 @@ export const SearchWallet = () => { toLocation={{ location: 'search-view-all', params: { - defaultTab: 'collections' + defaultTab: 'coins' } }} - label={`Collections (${collectionBalancesAmount})`} + label={`Coins (${coinBalancesAmount})`} /> {isPending ? ( Array(5) .fill(null) .map((_, i) => ) - ) : foundCollectionBalances.length === 0 ? ( - No collections found + ) : foundCoinBalances.length === 0 ? ( + No coins found ) : ( - foundCollectionBalances.map((indexedItem, index) => { - const balance = collectionBalances[indexedItem.index] + foundCoinBalances.map((indexItem, index) => { + const balance = coinBalances[indexItem.index] return }) )} @@ -168,20 +168,20 @@ export const SearchWallet = () => { toLocation={{ location: 'search-view-all', params: { - defaultTab: 'coins' + defaultTab: 'collections' } }} - label={`Coins (${coinBalancesAmount})`} + label={`Collections (${collectionBalancesAmount})`} /> {isPending ? ( Array(5) .fill(null) .map((_, i) => ) - ) : foundCoinBalances.length === 0 ? ( - No coins found + ) : foundCollectionBalances.length === 0 ? ( + No collections found ) : ( - foundCoinBalances.map((indexItem, index) => { - const balance = coinBalances[indexItem.index] + foundCollectionBalances.map((indexedItem, index) => { + const balance = collectionBalances[indexedItem.index] return }) )}