Skip to content

Commit 02d3552

Browse files
committed
forgot to pass children
1 parent 3d2c595 commit 02d3552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/shared/src/react/commerce.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ const PropsProvider = ({ children, ...props }: PropsWithChildren<PaymentElementP
187187
);
188188
};
189189

190-
const PaymentElementProvider = (props: PropsWithChildren<PaymentElementProviderProps>) => {
190+
const PaymentElementProvider = ({ children, ...props }: PropsWithChildren<PaymentElementProviderProps>) => {
191191
return (
192192
<StripeLibsProvider>
193193
<PropsProvider {...props}>
194-
<PaymentElementInternalRoot />
194+
<PaymentElementInternalRoot>{children}</PaymentElementInternalRoot>
195195
</PropsProvider>
196196
</StripeLibsProvider>
197197
);

0 commit comments

Comments
 (0)