From 90d1e50b9ece4cb57a834624b08239da616b5461 Mon Sep 17 00:00:00 2001 From: Alina Beck Date: Tue, 14 Jan 2020 18:18:50 +0300 Subject: [PATCH] refactor EmotionButton --- .../EmotionButton/EmotionButton.vue | 55 +++++++++++++++++++ webapp/components/Emotions/Emotions.vue | 31 ++++++----- .../EmotionsButton/EmotionsButton.vue | 55 ------------------- webapp/pages/post/_id/_slug/index.vue | 6 +- 4 files changed, 73 insertions(+), 74 deletions(-) create mode 100644 webapp/components/EmotionButton/EmotionButton.vue delete mode 100644 webapp/components/EmotionsButton/EmotionsButton.vue diff --git a/webapp/components/EmotionButton/EmotionButton.vue b/webapp/components/EmotionButton/EmotionButton.vue new file mode 100644 index 000000000..97eabd7df --- /dev/null +++ b/webapp/components/EmotionButton/EmotionButton.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/webapp/components/Emotions/Emotions.vue b/webapp/components/Emotions/Emotions.vue index 5c65a9c2a..96389d10d 100644 --- a/webapp/components/Emotions/Emotions.vue +++ b/webapp/components/Emotions/Emotions.vue @@ -1,29 +1,26 @@ + + + diff --git a/webapp/components/EmotionsButton/EmotionsButton.vue b/webapp/components/EmotionsButton/EmotionsButton.vue deleted file mode 100644 index 04d3f7d96..000000000 --- a/webapp/components/EmotionsButton/EmotionsButton.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index e6b6eef44..1d7ddb310 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -47,13 +47,9 @@ - + -