feat: remove el at the current index from the copy

This commit is contained in:
karishmas6
2024-06-06 00:33:49 +05:30
parent cc7cd09b03
commit 27e9945395

View File

@@ -445,6 +445,8 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
}
scope.counter += 1;
const newPath = [...path];
newPath.splice(i, 1);
}
}