From e7feb83f76499171c00117217a2d6cbd3264ccc5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 8 Jul 2020 20:01:35 +0300 Subject: [PATCH] chore(edit-names) rm unused arguments --- client/modules/edit-names.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/modules/edit-names.js b/client/modules/edit-names.js index 49cfde42..2e6ee405 100644 --- a/client/modules/edit-names.js +++ b/client/modules/edit-names.js @@ -30,8 +30,7 @@ const ConfigView = { module.exports.init = async () => { await CloudCmd.Edit(); - const editor = CloudCmd.Edit.getEditor(); - setListeners(editor); + setListeners(); }; module.exports.show = (options) => { @@ -216,6 +215,6 @@ async function isChanged() { return; const [, names] = await Dialog.confirm(msg); - names && applyNames(names); + names && applyNames(); }