This commit is contained in:
syuilo 2024-08-26 09:37:08 +09:00
parent 8775d9f707
commit 5e5208f94e
4 changed files with 0 additions and 12 deletions

View File

@ -58,8 +58,6 @@ const props = defineProps<{
clipId: string;
}>();
onActivated(redirectIfNotEmbedPage);
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
const clip = ref<Misskey.entities.Clip | null>(null);

View File

@ -22,8 +22,6 @@ const props = defineProps<{
noteId: string;
}>();
onActivated(redirectIfNotEmbedPage);
provide('EMBED_ORIGINAL_ENTITY_URL', `/notes/${props.noteId}`);
const note = ref<Misskey.entities.Note | null>(null);

View File

@ -55,10 +55,6 @@ const props = defineProps<{
tag: string;
}>();
redirectIfNotEmbedPage();
onActivated(redirectIfNotEmbedPage);
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
const pagination = computed(() => ({

View File

@ -65,10 +65,6 @@ const props = defineProps<{
username: string;
}>();
redirectIfNotEmbedPage();
onActivated(redirectIfNotEmbedPage);
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
const user = ref<Misskey.entities.UserLite | null>(null);