Skip to content

Commit f5f8ddd

Browse files
authored
fix(clerk-js, shared): Propagate stripeAppearance to payment element (#6263)
1 parent 6b4b27e commit f5f8ddd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.changeset/quick-items-jog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/shared/src/react/commerce.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,10 @@ const PropsProvider = ({ children, ...props }: PropsWithChildren<PaymentElementP
173173
<PaymentElementContext.Provider
174174
value={{
175175
value: {
176+
...props,
176177
...utils,
177178
setIsPaymentElementReady,
178179
isPaymentElementReady,
179-
checkout: props.checkout,
180-
paymentDescription: props.paymentDescription,
181-
for: props.for,
182180
},
183181
}}
184182
>

0 commit comments

Comments
 (0)