🐛 fix(ApiModal): uncomment setActiveTab("0") to fix a bug where the active tab was not being set correctly
This commit is contained in:
parent
13fae3875b
commit
0cf6e09292
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ const ApiModal = forwardRef(
|
||||||
filterNodes();
|
filterNodes();
|
||||||
|
|
||||||
if (Object.keys(tweaksCode).length > 0) {
|
if (Object.keys(tweaksCode).length > 0) {
|
||||||
// setActiveTab("0");
|
setActiveTab("0");
|
||||||
setTabs(tabsArray(codesArray, 1));
|
setTabs(tabsArray(codesArray, 1));
|
||||||
} else {
|
} else {
|
||||||
setTabs(tabsArray(codesArray, 1));
|
setTabs(tabsArray(codesArray, 1));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue