Skip to content

Commit

Permalink
fix: home page error
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Aug 20, 2024
1 parent 7921e87 commit 1923be4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/src/lib/components/PreviewCard.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script>
import { formatMap } from './anime.js'
import { click } from '@/modules/click.js'
import { alToken } from '@/modules/settings.js'
export let media
let hide = true
Expand Down Expand Up @@ -83,10 +82,10 @@
</span>
{playButtonText}
</button>
<button class='btn btn-square ml-10 material-symbols-outlined font-size-16 shadow-none border-0' class:filled={media.isFavourite} use:click={noop} disabled={!alToken}>
<button class='btn btn-square ml-10 material-symbols-outlined font-size-16 shadow-none border-0' class:filled={media.isFavourite} use:click={noop}>
favorite
</button>
<button class='btn btn-square ml-10 material-symbols-outlined font-size-16 shadow-none border-0' class:filled={media.mediaListEntry} use:click={noop} disabled={!alToken}>
<button class='btn btn-square ml-10 material-symbols-outlined font-size-16 shadow-none border-0' class:filled={media.mediaListEntry} use:click={noop}>
bookmark
</button>
</div>
Expand Down

0 comments on commit 1923be4

Please sign in to comment.