🐛 fix(ApiModal): uncomment setActiveTab("0") to fix a bug where the active tab was not being set correctly

This commit is contained in:
Cristhian Zanforlin Lousa 2023-09-26 20:56:11 -03:00
commit 0cf6e09292

View file

@ -83,7 +83,7 @@ const ApiModal = forwardRef(
filterNodes();
if (Object.keys(tweaksCode).length > 0) {
// setActiveTab("0");
setActiveTab("0");
setTabs(tabsArray(codesArray, 1));
} else {
setTabs(tabsArray(codesArray, 1));