refactor(annotation): remove unnecessary loop

This commit is contained in:
tekh 2025-10-08 10:26:25 +02:00
parent 510f5e9ddd
commit 9adc1ea4e7

View File

@ -7,11 +7,6 @@ function generateId(envelopeId, receiverId, annotationType) {
async function createAnnotations(document, envelopeId, receiverId) {
const signatures = [];
for (let element of document.elements) {
const annotParams = await getAnnotationParams(element.left, element.top);
const page = element.page - 1
}
for (let element of document.elements) {
const annotParams = await getAnnotationParams(element.left, element.top);
const page = element.page - 1