chore: linter

This commit is contained in:
Christy Jacob
2024-06-20 20:50:05 +05:30
parent 760b664c49
commit 48b9538e2f
2 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -32,4 +32,4 @@ export class Auth {
params
);
}
}
}
@@ -46,14 +46,14 @@
otp: number.otp
}
]);
};
}
function deletePhoneNumber(index: number) {
numbers.update((n) => {
n.splice(index, 1);
return n;
});
};
}
</script>
<Form onSubmit={updateMockNumbers}>
@@ -104,10 +104,11 @@
<Button
noMargin
text
on:click={() => addPhoneNumber({
phone: '',
otp: ''
})}
on:click={() =>
addPhoneNumber({
phone: '',
otp: ''
})}
disabled={$numbers.length >= 10}>
<span class="icon-plus" aria-hidden="true" />
<span class="text">Add number</span>