Skip to content

Commit 85266fd

Browse files
committed
Restore useRefundDeployerAccounts onSettled param
1 parent e37c1cc commit 85266fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/deployerWallet/refund.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { getTransferTx, sendTxFromWallet } from './transactions';
1919
import { DeployerWallets } from './types';
2020
import { useDeployerWallets } from './wallets';
2121

22-
export function useRefundDeployerAccounts() {
22+
export function useRefundDeployerAccounts(onSettled?: () => void) {
2323
const multiProvider = useMultiProvider();
2424
const { chains } = usePastDeploymentChains();
2525
const { wallets } = useDeployerWallets();
@@ -29,6 +29,7 @@ export function useRefundDeployerAccounts() {
2929
mutationKey: ['refundDeployerAccounts', chains, accounts],
3030
mutationFn: () => refundDeployerAccounts(chains, wallets, multiProvider, accounts),
3131
retry: false,
32+
onSettled,
3233
});
3334

3435
useToastError(

0 commit comments

Comments
 (0)