Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Dec 12, 2024
2 parents f32f301 + 505c787 commit 4bc568c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/ui/cypress/tests/address-bar.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ describe('Account address in the address bar', () => {
cy.url({ timeout: 3000 }).should('include', address)

// react-router takes some time to get the search params inside the links
cy.wait(500)
cy.wait(1000)

topMenuItems.homeButton().click()
cy.url().should('include', address)
Expand Down
8 changes: 4 additions & 4 deletions packages/ui/cypress/tests/watched-accounts.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,13 @@ describe('Watched Accounts', () => {
it('can see all multisigs that a watched signatory is a member of', () => {
const { publicKey: signatoryPublicKey } = testAccounts['Multisig Member Account 1']
const expectedAddresses = [
{
address: knownMultisigs['multisig-with-pure'].pureAddress,
expectedBadge: 'pure'
},
{
address: knownMultisigs['test-simple-multisig-1'].address,
expectedBadge: 'multi'
},
{
address: knownMultisigs['multisig-with-pure'].pureAddress,
expectedBadge: 'pure'
}
]

Expand Down
7 changes: 0 additions & 7 deletions packages/ui/src/contexts/MultiProxyContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ const MultiProxyContextProvider = ({ children }: MultisigContextProps) => {
(newMulti: typeof selectedMultiProxy | string) => {
let multi: string | undefined

console.log('last: selectMultiProxy', newMulti)
if (typeof newMulti === 'string') {
multi = newMulti
} else {
Expand Down Expand Up @@ -350,12 +349,6 @@ const MultiProxyContextProvider = ({ children }: MultisigContextProps) => {
LOCALSTORAGE_LAST_MULTIPROXY_KEY_NETWORK &&
localStorage.getItem(LOCALSTORAGE_LAST_MULTIPROXY_KEY_NETWORK)

console.log('lastUsedMultiProxy', lastUsedMultiProxy)
console.log('multisigList', multiProxyList)
console.log(
'last getMultiProxyByAddress(lastUsedMultiProxy)',
lastUsedMultiProxy && getMultiProxyByAddress(lastUsedMultiProxy)
)
if (lastUsedMultiProxy && getMultiProxyByAddress(lastUsedMultiProxy)) {
return lastUsedMultiProxy
}
Expand Down

0 comments on commit 4bc568c

Please sign in to comment.