fix: lint and fix wrong text.

This commit is contained in:
xNinjaKittyx
2025-12-15 18:18:11 +00:00
parent 56fa5bed17
commit ec077c7f26
5 changed files with 4192 additions and 4196 deletions

View File

@@ -80,17 +80,15 @@
<Button
class="w-full font-semibold"
variant="secondary"
href={resolve(isShow ? '/dashboard/tv/[showId]' : '/dashboard/movies/[movieId]',
isShow ? { showId: result.id ?? '' } : { movieId: result.id ?? '' })}
href={resolve(
isShow ? '/dashboard/tv/[showId]' : '/dashboard/movies/[movieId]',
isShow ? { showId: result.id ?? '' } : { movieId: result.id ?? '' }
)}
>
{isShow ? 'Show already exists' : 'Movie already exists'}
</Button>
{:else}
<Button
class="w-full font-semibold"
disabled={loading}
onclick={() => addMedia()}
>
<Button class="w-full font-semibold" disabled={loading} onclick={() => addMedia()}>
{#if loading}
<LoaderCircle class="mr-2 h-4 w-4 animate-spin" />
<span class="animate-pulse">Loading...</span>