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

View File

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

View File

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