Skip to content

Commit 368f256

Browse files
committed
Remove more unused code
1 parent 2916aaf commit 368f256

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/Checkout/CheckoutForm.component.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ const CheckoutForm = () => {
3434
refetch();
3535
},
3636
onError: (error) => {
37-
if (error) {
38-
setRequestError(error);
39-
}
37+
setRequestError(error);
4038
},
4139
}
4240
);

0 commit comments

Comments
 (0)