From 29f3776c08528576d55409e3bb0e85b0b2812e6e Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 29 Apr 2022 23:47:49 +0900 Subject: [PATCH] Rewrite Modals/NewToot/Status with composition API --- .../TimelineSpace/Modals/NewToot.vue | 5 +- .../TimelineSpace/Modals/NewToot/Status.vue | 288 ++++++++---------- .../TimelineSpace/Modals/NewToot/Status.ts | 74 +++-- .../utils/{suggestText.js => suggestText.ts} | 8 +- 4 files changed, 183 insertions(+), 192 deletions(-) rename src/renderer/utils/{suggestText.js => suggestText.ts} (77%) diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index 6e108c02..894cb931 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -17,14 +17,13 @@ diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot/Status.vue b/src/renderer/components/TimelineSpace/Modals/NewToot/Status.vue index baf422ac..9715174b 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot/Status.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot/Status.vue @@ -1,15 +1,17 @@ -