(fix) lint issues

This commit is contained in:
kakkokari-gtyih 2023-04-06 11:08:07 +09:00
parent 5d4e987a4d
commit d583d2cafd
4 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
</div>
<div v-if="embed" class="instance-info">
<button class="_button" v-click-anime @click="openInstanceMenu">
<button v-click-anime class="_button" @click="openInstanceMenu">
<img :src="instance.iconUrl ?? instance.faviconUrl ?? '/favicon.ico'" alt="" class="icon"/>
</button>
</div>
@ -112,7 +112,7 @@
<MkA v-if="appearNote.myReaction != null" class="button _button reacted" :to="notePage(appearNote)">
<i class="ti ti-minus"></i>
</MkA>
<MkA v-if="defaultStore.state.showClipButtonInNoteFooter" class="button _button" :to="notePage(appearNote)">
<MkA v-if="defaultStore.state.showClipButtonInNoteFooter" class="button _button" :to="notePage(appearNote)">
<i class="ti ti-paperclip"></i>
</MkA>
</template>

View File

@ -26,4 +26,4 @@ export function getEmbedCode(props: {
}
return null;
}
}

View File

@ -213,7 +213,7 @@ export function getNoteMenu(props: {
function copyEmbedCode(): void {
console.log(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
copyToClipboard(getEmbedCode({entityType: 'notes', id: appearNote.id}));
copyToClipboard(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
os.success();
}

View File

@ -17,7 +17,7 @@ import { mainRouter } from '@/router';
import { PageMetadata, provideMetadataReceiver } from '@/scripts/page-metadata';
import { instanceName } from '@/config';
import { popups } from '@/os';
import 'iframe-resizer/js/iframeResizer.contentWindow'
import 'iframe-resizer/js/iframeResizer.contentWindow';
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();