mirror of https://github.com/zmkfirmware/zmk.git
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:
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 />
|
||||
|
|
|
|||
Loading…
Reference in New Issue