From 6acaded89810fa24f56b7910265913a7e5d151af Mon Sep 17 00:00:00 2001
From: anatawa12 <anatawa12@icloud.com>
Date: Mon, 27 Nov 2023 14:47:25 +0900
Subject: fix: error can be happened if animation is on and hard mute matches
 (#12474)

---
 packages/frontend/src/components/MkNote.vue | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'packages/frontend/src/components/MkNote.vue')

diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index d047495dc9..4916d59d00 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -142,6 +142,12 @@ SPDX-License-Identifier: AGPL-3.0-only
 		</template>
 	</I18n>
 </div>
+<div v-else>
+	<!--
+	  MkDateSeparatedList uses TransitionGroup which requires single element in the child elements
+	  so MkNote create empty div instead of no elements
+	-->
+</div>
 </template>
 
 <script lang="ts" setup>
-- 
cgit v1.2.3-freya

