aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/src
diff options
context:
space:
mode:
authorJoel Spadin <[email protected]>2023-04-24 12:16:09 -0500
committerPete Johanson <[email protected]>2023-04-25 15:50:38 -0700
commit9bd171ede44c6178068d1b3970474783fddc799f (patch)
tree04d119c8720d3abcb98db5284f218de20295e64f /docs/src
parentdb08e041c64d1a2b232bca9f728c02cde3907860 (diff)
downloadzmk-9bd171ede44c6178068d1b3970474783fddc799f.tar.gz
zmk-9bd171ede44c6178068d1b3970474783fddc799f.zip
fix(docs): Add key to interconnect tabs
Added a key property to interconnect tabs list items to fix a React warning.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/components/interconnect-tabs.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/components/interconnect-tabs.tsx b/docs/src/components/interconnect-tabs.tsx
index c791279381..3ef69ebf2a 100644
--- a/docs/src/components/interconnect-tabs.tsx
+++ b/docs/src/components/interconnect-tabs.tsx
@@ -15,7 +15,7 @@ function mapInterconnect(interconnect: Interconnect) {
let imageUrl = require(`@site/docs/assets/interconnects/${interconnect.id}/pinout.png`);
return (
- <TabItem value={interconnect.id}>
+ <TabItem value={interconnect.id} key={interconnect.id}>
<img src={imageUrl.default} />
<content.default />