feat: create a copy of the path to avoid og modification

This commit is contained in:
karishmas6
2024-06-06 00:32:46 +05:30
parent 4efd177406
commit cc7cd09b03

View File

@@ -444,6 +444,7 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
return; // Okay At least I tried!
}
scope.counter += 1;
const newPath = [...path];
}
}