mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 05:38:34 +00:00
fix: react 19 error
This commit is contained in:
parent
fbf9d06d84
commit
892a686462
@ -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>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user