Skip to content

Commit

Permalink
chore: Remove usePendingSafe hook
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed May 31, 2024
1 parent 9d40c0a commit 85c42ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 101 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/new-safe/create/steps/StatusStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const CreateSafeStatus = ({
dispatch(updateAddressBook(chain.chainId, safeAddress, data.name, data.owners, data.threshold))
router.push(getRedirect(chain.shortName, safeAddress, router.query?.safeViewRedirectURL))
}
}, [chain, data.name, data.owners, data.threshold, router, safeAddress, status])
}, [dispatch, chain, data.name, data.owners, data.threshold, router, safeAddress, status])

useEffect(() => {
if (!setProgressColor) return
Expand Down
29 changes: 0 additions & 29 deletions src/components/new-safe/create/steps/StatusStep/usePendingSafe.ts

This file was deleted.

0 comments on commit 85c42ea

Please sign in to comment.