From 6a3d98fbc10dddb08bc624bb498ad6b979f6cdde Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sat, 20 Aug 2022 16:03:09 +0200 Subject: [PATCH] refactor: remove reaction-icon component The removed component does not contain any special script or styling. It's template only contains a MkEmoji. To remove this unnecessary indirection, the components was replaced with the MkEmoji component. --- packages/client/src/components/notification.vue | 7 ++++--- packages/client/src/components/reaction-icon.vue | 14 -------------- .../client/src/components/reaction-tooltip.vue | 3 +-- .../src/components/reactions-viewer.details.vue | 3 +-- .../src/components/reactions-viewer.reaction.vue | 3 +-- packages/client/src/pages/user/reactions.vue | 3 +-- 6 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 packages/client/src/components/reaction-icon.vue diff --git a/packages/client/src/components/notification.vue b/packages/client/src/components/notification.vue index bfd5fc227..c8b2da54f 100644 --- a/packages/client/src/components/notification.vue +++ b/packages/client/src/components/notification.vue @@ -16,11 +16,13 @@ - @@ -75,7 +77,6 @@ diff --git a/packages/client/src/components/reaction-tooltip.vue b/packages/client/src/components/reaction-tooltip.vue index 0d50b8e5b..3fe29ebcf 100644 --- a/packages/client/src/components/reaction-tooltip.vue +++ b/packages/client/src/components/reaction-tooltip.vue @@ -1,7 +1,7 @@