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

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
tag="div" :class="$style.root"
>
<XReaction v-for="[reaction, count] in reactions" :key="reaction" :reaction="reaction" :count="count" :isInitial="initialReactions.has(reaction)" :note="note" @reactionToggled="onMockToggleReaction"/>
<slot v-if="hasMoreReactions" name="more"/>
<slot v-if="hasMoreReactions" :key="'$more'" name="more"/>
</component>
</template>