fix: when set USE_LOCAL=true get undefined endpoint error in server

This commit is contained in:
prafull-opensignlabs
2024-07-18 17:20:59 +05:30
parent 1eafc113e6
commit 9cfffe3fbd
3 changed files with 12 additions and 16 deletions
File diff suppressed because one or more lines are too long
@@ -62,7 +62,7 @@ const Sidebar = ({ isOpen, closeSidebar }) => {
}
];
} else {
const arr = newItem.children.slice(1, 2);
const arr = newItem.children.slice(0, 1);
newItem.children = [
...arr,
{