Skip to content

Commit c962469

Browse files
authored
fix: view has no child text (#112)
* fix: view has no child text
1 parent a75b16a commit c962469

File tree

1 file changed

+2
-2
lines changed
  • packages/react-sdk-components/src/components/infra/View

1 file changed

+2
-2
lines changed

packages/react-sdk-components/src/components/infra/View/View.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ export default function View(props) {
134134

135135
if (children) {
136136
return <>{children}</>;
137-
} else {
138-
return <div id='View'>View has no children.</div>;
139137
}
138+
139+
return null;
140140
}
141141

142142
View.defaultProps = {

0 commit comments

Comments
 (0)