aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.vue
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-04-06 14:54:58 -0400
committertusooa <tusooa@kazv.moe>2023-01-20 23:39:45 -0500
commitdc04c8cbd48dd8dcfc6b1937663e57983d38562a (patch)
tree1d45de83d709f6d7b679e5a2d55a3070afbc10f3 /src/components/retweet_button/retweet_button.vue
parent39e4746f615970001839309e06a0f13d9613b175 (diff)
Use vue3 teleport instead of portal
Diffstat (limited to 'src/components/retweet_button/retweet_button.vue')
-rw-r--r--src/components/retweet_button/retweet_button.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/retweet_button/retweet_button.vue b/src/components/retweet_button/retweet_button.vue
index 9ed24bd5..134fcb36 100644
--- a/src/components/retweet_button/retweet_button.vue
+++ b/src/components/retweet_button/retweet_button.vue
@@ -59,7 +59,7 @@
>
{{ status.repeat_num }}
</span>
- <portal to="modal">
+ <teleport to="#modal">
<confirm-modal
v-if="showingConfirmDialog"
:title="$t('status.repeat_confirm_title')"
@@ -70,7 +70,7 @@
>
{{ $t('status.repeat_confirm') }}
</confirm-modal>
- </portal>
+ </teleport>
</div>
</template>