Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Apr 17, 2024
1 parent d985225 commit 7cf88e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jsx-runtime/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ function createVNode(type, props, key, isStaticChildren, __source, __self) {
let normalizedProps = props,
ref,
i;

if ('ref' in normalizedProps) {
normalizedProps = {};
for (i in props) {
if (i != 'ref') {
if (i == 'ref') {
ref = props[i];
} else {
normalizedProps[i] = props[i];
Expand Down

0 comments on commit 7cf88e5

Please sign in to comment.