From 892a686462a41a25a90c260caf27758bc30eae5f Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Wed, 29 Jan 2025 14:52:44 +0100 Subject: [PATCH] fix: react 19 error --- website/src/components/Claviature.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/src/components/Claviature.jsx b/website/src/components/Claviature.jsx index e97facbc..e2b4f7a0 100644 --- a/website/src/components/Claviature.jsx +++ b/website/src/components/Claviature.jsx @@ -13,8 +13,9 @@ export default function Claviature({ options, onClick, onMouseDown, onMouseUp, o {svg.children.map((el, i) => { const TagName = el.name; + const { key, ...attributes } = el.attributes; return ( - + {el.value} );