refactor(frontend): page-metadata -> page

This commit is contained in:
syuilo
2025-03-10 13:47:38 +09:00
parent 5ed1101bbd
commit 9998cb84e8
143 changed files with 286 additions and 286 deletions

View File

@@ -40,7 +40,7 @@ import { $i } from '@/account.js';
import { i18n } from '@/i18n.js';
import * as os from '@/os.js';
import { misskeyApi } from '@/utility/misskey-api.js';
import { definePageMetadata } from '@/utility/page-metadata.js';
import { definePage } from '@/page.js';
import MkButton from '@/components/MkButton.vue';
import { clipsCache } from '@/cache.js';
import { isSupportShare } from '@/utility/navigator.js';
@@ -193,7 +193,7 @@ const headerActions = computed(() => clip.value && isOwned.value ? [{
},
}] : null);
definePageMetadata(() => ({
definePage(() => ({
title: clip.value ? clip.value.name : i18n.ts.clip,
icon: 'ti ti-paperclip',
}));