Use vue3 teleport instead of portal

This commit is contained in:
Tusooa Zhu 2022-04-06 14:54:58 -04:00 committed by tusooa
commit dc04c8cbd4
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
7 changed files with 14 additions and 14 deletions

View file

@ -314,7 +314,7 @@
:handle-links="true"
/>
</div>
<portal to="modal">
<teleport to="#modal">
<confirm-modal
v-if="showingConfirmMute"
:title="$t('user_card.mute_confirm_title')"
@ -333,7 +333,7 @@
/>
</i18n>
</confirm-modal>
</portal>
</teleport>
</div>
</template>