aboutsummaryrefslogtreecommitdiff
path: root/components/voerBord.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-08 18:32:24 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-08 18:32:24 +0100
commitb33d057044a337f494e44ca10d461ec9f044e506 (patch)
treeb63fa0a79e0ee166c79fefd8785c988e44a94161 /components/voerBord.tsx
parent2ab7cfe761b47eed848becbc9386f6a94ef44d3d (diff)
added key props so next.js can shut up
Diffstat (limited to 'components/voerBord.tsx')
-rw-r--r--components/voerBord.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/voerBord.tsx b/components/voerBord.tsx
index 8ee758b..946aa9c 100644
--- a/components/voerBord.tsx
+++ b/components/voerBord.tsx
@@ -20,13 +20,13 @@ export function VoerBord(props: {
<tbody>
{
[...Array(props.height).keys()].map((row) => (
- <tr>
+ <tr key={`r-${row}`}>
{[...Array(props.width).keys()].map((column) => (
<td style={{
position: "relative",
width: "100%",
padding: 0
- }}>
+ }} key={`c-${row}x${column}`}>
<div style={{
display: "block",
marginTop: "100%"