🔧 fix(codeTabsComponent): remove commented out console.log statement
🔧 fix(codeTabsComponent): add keyValue prop to AccordionComponent to fix missing key warning
This commit is contained in:
parent
7ff40f40a4
commit
ff97f45a72
1 changed files with 1 additions and 2 deletions
|
|
@ -191,6 +191,7 @@ export default function CodeTabsComponent({
|
||||||
<AccordionComponent
|
<AccordionComponent
|
||||||
trigger={t["data"]["id"]}
|
trigger={t["data"]["id"]}
|
||||||
open={openAccordion}
|
open={openAccordion}
|
||||||
|
keyValue={t["data"]["id"]}
|
||||||
>
|
>
|
||||||
<div className="api-modal-table-arrangement">
|
<div className="api-modal-table-arrangement">
|
||||||
<Table className="table-fixed bg-muted outline-1">
|
<Table className="table-fixed bg-muted outline-1">
|
||||||
|
|
@ -224,8 +225,6 @@ export default function CodeTabsComponent({
|
||||||
t.data.node.template[n].type === "int")
|
t.data.node.template[n].type === "int")
|
||||||
)
|
)
|
||||||
.map((n, i) => {
|
.map((n, i) => {
|
||||||
//console.log(t.data.node.template[n]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TableRow
|
<TableRow
|
||||||
key={i}
|
key={i}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue