From ebe29361c2fedd31c72f8fcd43ed8d7242882986 Mon Sep 17 00:00:00 2001 From: Chizu Date: Sat, 11 Mar 2023 14:59:59 +0900 Subject: [PATCH] fix whitespace --- src/components/post_status_form/post_status_form.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 0251655a..4ebd20ec 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -165,11 +165,11 @@ const PostStatusForm = { } } - let draftKey = 'status'; - if (this.replyTo) { - draftKey = 'reply:' + this.replyTo; - } else if (this.quoteId) { - draftKey = 'quote:' + this.quoteId; + let draftKey = 'status'; + if (this.replyTo) { + draftKey = 'reply:' + this.replyTo; + } else if (this.quoteId) { + draftKey = 'quote:' + this.quoteId; } const draft = JSON.parse(localStorage.getItem('drafts') || '{}')[draftKey];