forked from kofal.net/zmk
fix(docs): Add key to interconnect tabs
Added a key property to interconnect tabs list items to fix a React warning.
This commit is contained in:
committed by
Pete Johanson
parent
db08e041c6
commit
9bd171ede4
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user