From 21b78274aaa86f4cf6c96116062599a34efb835b Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Wed, 10 Aug 2022 20:57:20 -0400 Subject: [PATCH] more syntax fixes --- packages/client/src/components/post-form-attaches.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/post-form-attaches.vue b/packages/client/src/components/post-form-attaches.vue index dae7921ab..af408ae07 100644 --- a/packages/client/src/components/post-form-attaches.vue +++ b/packages/client/src/components/post-form-attaches.vue @@ -66,12 +66,12 @@ async function rename(file: DriveFile): Promise { const { canceled, result } = await os.inputText({ title: i18n.ts.enterFileName, default: file.name, - allowEmpty: false,, + allowEmpty: false, }); if (canceled) return; os.api('drive/files/update', { fileId: file.id, - name: result,, + name: result, }).then(() => { emit('changeName', file, result); file.name = result;