Skip to content

Commit 00f1a52

Browse files
committed
fix: build
1 parent b88c038 commit 00f1a52

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

features/supply/fund/hooks/use-fund.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const useFund = () => {
4848

4949
return success;
5050
},
51-
[activeVault.owner, refetchVaultInfo, sendTX],
51+
[activeVault?.owner, refetchVaultInfo, sendTX],
5252
),
5353
...rest,
5454
};

features/supply/withdraw/withdraw-form-context/withdraw-form-provider.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ export const WithdrawFormProvider: FC<{ children: ReactNode }> = ({
8484
);
8585
invariant(recipient, '[WithdrawFormProvider] recipient is undefined');
8686

87-
const { success } = await withdraw({ amount, recipient });
88-
89-
return success;
87+
return await withdraw({ amount, recipient });
9088
},
9189
[withdraw],
9290
);

0 commit comments

Comments
 (0)