avoid use of <template> as a child of <TransitionGroup>

This commit is contained in:
Hazelnoot 2025-05-23 21:59:25 -04:00
parent 9e8e08eb57
commit 1cc9afc555
4 changed files with 7 additions and 7 deletions

View file

@ -23,10 +23,10 @@ SPDX-License-Identifier: AGPL-3.0-only
:moveClass=" $style.transition_x_move"
tag="div"
>
<template v-for="(notification, i) in notifications" :key="notification.id">
<div v-for="(notification, i) in notifications" :key="notification.id">
<DynamicNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :class="$style.item" :note="notification.note" :withHardMute="true" :data-scroll-anchor="notification.id"/>
<XNotification v-else :class="$style.item" :notification="notification" :withTime="true" :full="true" :data-scroll-anchor="notification.id"/>
</template>
</div>
</component>
</template>
</MkPagination>