chore: Use clipboard API directly (#14227)

* chore: Use clipboard API directly

* fix: Fix lint
This commit is contained in:
Chocolate Pie
2024-07-17 21:52:05 +09:00
committed by GitHub
parent 8b4933cc48
commit 68bcd91d57
22 changed files with 23 additions and 50 deletions

View File

@@ -30,7 +30,7 @@ import * as os from '@/os.js';
import MkLoading from '@/components/global/MkLoading.vue';
import { defaultStore } from '@/store.js';
import { i18n } from '@/i18n.js';
import copyToClipboard from '@/scripts/copy-to-clipboard.js';
import { copyToClipboard } from '@/scripts/copy-to-clipboard.js';
const props = defineProps<{
code: string;