mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-25 23:10:34 -04:00
fix: react 19 error
This commit is contained in:
@@ -13,8 +13,9 @@ export default function Claviature({ options, onClick, onMouseDown, onMouseUp, o
|
||||
<svg {...svg.attributes}>
|
||||
{svg.children.map((el, i) => {
|
||||
const TagName = el.name;
|
||||
const { key, ...attributes } = el.attributes;
|
||||
return (
|
||||
<TagName key={`${el.name}-${i}`} {...el.attributes}>
|
||||
<TagName key={`${el.name}-${i}`} {...attributes}>
|
||||
{el.value}
|
||||
</TagName>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user