Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit b765da8

Browse files
committed
Ensuring capture with stripe is recreated with new checkouts
1 parent 7351915 commit b765da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkout/useCaptureWithStripe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ export default function useCaptureWithStripe() {
7474
},
7575
});
7676
}
77-
}, [stripe, elements])
77+
}, [stripe, elements, capture])
7878
}

0 commit comments

Comments
 (0)