refactor: remove unnecessary watch on tab value in CanvasComponent
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s

This commit is contained in:
puriphatt 2025-03-31 15:42:27 +07:00
parent 4fb26bf54b
commit f8b56fd37e

View file

@ -93,13 +93,6 @@ function clearUpload() {
imgUrl.value = '';
}
watch(
() => tab.value,
async () => {
await initializeSignaturePad();
},
);
onMounted(async () => {
await initializeSignaturePad();
});