Skip to content

Commit

Permalink
WIP for adding collection list
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee348 committed Dec 11, 2024
1 parent f501c1e commit 09548f7
Show file tree
Hide file tree
Showing 20 changed files with 560 additions and 244 deletions.
6 changes: 0 additions & 6 deletions src/components/helpers/index.tsx

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions src/components/misc/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { FilledCheckBox } from '~/components/misc/FilledCheckBox'
import { FilledRoundCheckBox, ROUND_CHECKBOX_SIZE } from '~/components/misc/FilledRoundCheckBox'
import { ButtonWithIcon } from '~/components/misc/ButtonWithIcon'
import { ExternalIcon } from '~/components/misc/ExternalIcon'

export { FilledCheckBox, FilledRoundCheckBox, ROUND_CHECKBOX_SIZE, ButtonWithIcon, ExternalIcon }
2 changes: 1 addition & 1 deletion src/components/network/NetworkItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { ChangeEvent, useEffect, useState } from 'react'
import { useObservable, useStore } from '~/stores'
import { NetworkStore, createDebugLocalRelayer } from '~/stores/NetworkStore'

import { FilledCheckBox } from '~/components/helpers'
import { FilledCheckBox } from '~/components/misc'

export default function NetworkItem({ network }: { network: NetworkConfig }) {
const networkStore = useStore(NetworkStore)
Expand Down
2 changes: 1 addition & 1 deletion src/components/recovery/WalletList.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Box, Text, truncateAddress } from '@0xsequence/design-system'
import { useState } from 'react'

import { FilledRoundCheckBox, ROUND_CHECKBOX_SIZE } from '~/components/helpers'
import { FilledRoundCheckBox, ROUND_CHECKBOX_SIZE } from '~/components/misc'

export default function WalletList({
possibleWallets,
Expand Down
4 changes: 2 additions & 2 deletions src/components/signing/ConnectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { SessionTypes } from '@walletconnect/types'
import { useStore } from '~/stores'
import { WalletConnectSignClientStore } from '~/stores/WalletConnectSignClientStore'

import { ButtonWithIcon } from '~/components/helpers/ButtonWithIcon'
import { ExternalIcon } from '~/components/helpers/ExternalIcon'
import { ButtonWithIcon } from '~/components/misc/ButtonWithIcon'
import { ExternalIcon } from '~/components/misc/ExternalIcon'

export default function ConnectionList({ sessionList }: { sessionList: SessionTypes.Struct[] }) {
const walletConnectSignClientStore = useStore(WalletConnectSignClientStore)
Expand Down
4 changes: 2 additions & 2 deletions src/components/wallet/collectibles/CollectibleBalanceItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { BigNumberish, ethers } from 'ethers'

import { CollectibleInfo } from '~/stores/CollectibleStore'

import { ButtonWithIcon } from '~/components/helpers/ButtonWithIcon'
import { ExternalIcon } from '~/components/helpers/ExternalIcon'
import { ButtonWithIcon } from '~/components/misc/ButtonWithIcon'
import { ExternalIcon } from '~/components/misc/ExternalIcon'
import NetworkTag from '~/components/network/NetworkTag'

import SendIcon from '~/assets/icons/send.svg'
Expand Down
2 changes: 1 addition & 1 deletion src/components/wallet/collectibles/CollectibleList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function CollectibleList({
</Box>

{isImportCollectibleViewOpen && (
<Modal size="sm" onClose={() => setIsImportCollectibleViewOpen(false)}>
<Modal onClose={() => setIsImportCollectibleViewOpen(false)}>
<ImportCollectible onClose={() => setIsImportCollectibleViewOpen(false)} />
</Modal>
)}
Expand Down
Loading

0 comments on commit 09548f7

Please sign in to comment.