diff --git a/pages/contacts/[mode]/[[id]].vue b/pages/contacts/[mode]/[[id]].vue index 8163dbe..e4fc1d1 100644 --- a/pages/contacts/[mode]/[[id]].vue +++ b/pages/contacts/[mode]/[[id]].vue @@ -54,21 +54,11 @@ const setupPage = async () => { if(itemInfo.value) oldItemInfo.value = JSON.parse(JSON.stringify(itemInfo.value)) } -const cancelEditorCreate = () => { - if(itemInfo.value) { - router.push(`/contacts/show/${itemInfo.value.id}`) - } else { - router.push(`/contacts`) - } - -} - setupPage()