Skip to content

Commit

Permalink
refactor: remove unused settings navigation in AgentNotRunningButton …
Browse files Browse the repository at this point in the history
…and update dependencies in SetupCreateSafe
  • Loading branch information
truemiller committed Dec 16, 2024
1 parent cabc1c4 commit 9877d01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { MultisigOwners, useMultisigs } from '@/hooks/useMultisig';
import { usePageState } from '@/hooks/usePageState';
import { useService } from '@/hooks/useService';
import { useServices } from '@/hooks/useServices';
import { useSettings } from '@/hooks/useSettings';
import {
useActiveStakingContractDetails,
useStakingContractContext,
Expand All @@ -44,7 +43,6 @@ export const AgentNotRunningButton = () => {
const { showNotification } = useElectronApi();

const { goto: gotoPage } = usePageState();
const { goto: gotoSettings } = useSettings();

const { masterWallets, masterSafes, masterEoa } = useMasterWalletContext();
const {
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/SetupPage/Create/SetupCreateSafe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const SetupCreateSafe = () => {
}
}
},
[backupSigner, updateWallets],
[allBackupAddresses, backupSigner, updateWallets],
);

const creationStatusText = useMemo(() => {
Expand Down

0 comments on commit 9877d01

Please sign in to comment.