We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffaf93 commit 472d831Copy full SHA for 472d831
src/client/packages/@reactpy/client/src/components.tsx
@@ -161,12 +161,12 @@ function ImportedElement({ model }: { model: ReactPyVdom }) {
161
if (!importSourceFallback) {
162
return null;
163
} else if (typeof importSourceFallback === "string") {
164
- return <div>{importSourceFallback}</div>;
+ return <span>{importSourceFallback}</span>;
165
} else {
166
return <StandardElement model={importSourceFallback} />;
167
}
168
169
- return <div ref={importSourceRef} />;
+ return <span ref={importSourceRef} />;
170
171
172
0 commit comments