diff options
| author | Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com> | 2024-07-17 21:52:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 21:52:05 +0900 |
| commit | 68bcd91d57c9a11ae4191dfefa156c4454c8a073 (patch) | |
| tree | 39ebb9e32b69230f464776f19499a4bc3f64f048 /packages/frontend/src/components/MkCode.vue | |
| parent | fix changelog (wrong category) (diff) | |
| download | sharkey-68bcd91d57c9a11ae4191dfefa156c4454c8a073.tar.gz sharkey-68bcd91d57c9a11ae4191dfefa156c4454c8a073.tar.bz2 sharkey-68bcd91d57c9a11ae4191dfefa156c4454c8a073.zip | |
chore: Use clipboard API directly (#14227)
* chore: Use clipboard API directly
* fix: Fix lint
Diffstat (limited to 'packages/frontend/src/components/MkCode.vue')
| -rw-r--r-- | packages/frontend/src/components/MkCode.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkCode.vue b/packages/frontend/src/components/MkCode.vue index a3c80e743b..1d4c0b6366 100644 --- a/packages/frontend/src/components/MkCode.vue +++ b/packages/frontend/src/components/MkCode.vue @@ -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; |