-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context checks, remove master safe context, few component integrations #471
Context checks, remove master safe context, few component integrations #471
Conversation
…stead of serviceStatus
…for wallet management
…roved wallet management
address: wallet.address, | ||
link: { | ||
title: 'Go to Safe', | ||
href: `${EXPLORER_URL[MiddlewareChain.OPTIMISM]}/address/${wallet.address}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: chain independent
address: address, | ||
truncatedAddress: address ? truncateAddress(address) : '', | ||
}); | ||
const getBalanceData = (walletBalances: WalletBalanceResult[]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe? The "data" seems to return a singular value rather than an object.
const getBalanceData = (walletBalances: WalletBalanceResult[]) => { | |
const getBalanceDetails = (walletBalances: WalletBalanceResult[]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is removed/renamed in follow up PR
7b829d7
into
refactor/multi-chain-support-frontend
Proposed changes
ensure contexts don't have lint errors
WalletProvider
toMasterWalletProvider
(poor naming previously)some hook updates
useMasterSafe
,MasterSafeContext
, andGnosisSafeService
, replaced withuseMultisig
hookfew component integrations/fixes (limited this to stop too much scope creep of PR)
Types of changes
What types of changes does your code introduce?
Put an
x
in the boxes that apply