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 fc6c001 commit 22a1de8Copy full SHA for 22a1de8
src/js/packages/@reactpy/client/src/reactpy-vdom.tsx
@@ -136,9 +136,9 @@ export function createAttributes(
136
// Add key to attributes
137
if (model.key) {
138
if (model.attributes) {
139
- model.attributes['key'] = model.key;
+ model.attributes.key = model.key;
140
} else {
141
- model.attributes = {'key': model.key};
+ model.attributes = {key: model.key};
142
}
143
144
return Object.fromEntries(
0 commit comments