Skip to content

Commit ce52870

Browse files
fix type issue for targets
1 parent b9fe8e6 commit ce52870

File tree

1 file changed

+1
-1
lines changed
  • packages/react/src/components/checkout/target

1 file changed

+1
-1
lines changed

packages/react/src/components/checkout/target/target.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function Target({ id }: { id: Target }) {
3535

3636
const target = targets?.[id];
3737

38-
let content = null;
38+
let content: React.ReactNode = null;
3939
if (target) {
4040
content = target?.();
4141
} else if (debug) {

0 commit comments

Comments
 (0)