Skip to content

Commit

Permalink
code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Jan 4, 2025
1 parent 16fa77e commit 871164b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/mobile/InformationSheet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script setup lang="ts">
import { useTemplateRef, watch, onMounted, onUpdated } from 'vue';
import {useTemplateRef, watch, onMounted, onUpdated, type Ref} from 'vue';
import { ClipboardHolder } from '@/lib/clipboard.ts';
Expand All @@ -43,7 +43,7 @@ const emit = defineEmits<{
(e: 'info:copied'): void
}>();
const iconCopyToClipboard = useTemplateRef('copyToClipboardIcon');
const iconCopyToClipboard: Ref<HTMLElement> = useTemplateRef('copyToClipboardIcon');
let clipboardHolder: ClipboardHolder = null;
Expand Down

0 comments on commit 871164b

Please sign in to comment.