Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor sidebar hooks [SW-647] (#4641)
* fix: Remove cache in useAllOwnedSafes * fix: Write tests for useAllSafes * fix: Add more tests for useAllSafes * refactor: Extract useAllSafes logic into separate functions * refactor: Extract useHasSafes, remove sorting, iterate over all chains * fix: Write test cases for buildSafeItem and prepareAddresses * fix: Implement tests for _prepareAddresses and _buildSafeItem * fix: Check undeployed safe owners to determine readOnly status * fix: Remove condition * fix: Remove isOwnerOfAddedSafe check
- Loading branch information