fix: inital eslint errors

This commit is contained in:
Huskydog9988
2025-04-13 21:44:29 -04:00
parent ff1255f948
commit d4b89b5dc5
74 changed files with 339 additions and 304 deletions

View File

@ -32,7 +32,7 @@
:alt="game.mName"
/>
<div class="flex items-center gap-x-2">
<AddLibraryButton :gameId="game.id" />
<AddLibraryButton :game-id="game.id" />
</div>
<NuxtLink
v-if="user?.admin"
@ -138,13 +138,13 @@
<div>
<div
v-if="showPreview"
v-html="previewHTML"
class="mt-12 prose prose-invert prose-blue max-w-none"
v-html="previewHTML"
/>
<div
v-else
v-html="descriptionHTML"
class="mt-12 prose prose-invert prose-blue max-w-none"
v-html="descriptionHTML"
/>
<button
@ -169,11 +169,11 @@
<script setup lang="ts">
import { ArrowTopRightOnSquareIcon } from "@heroicons/vue/24/outline";
import { StarIcon } from "@heroicons/vue/24/solid";
import { type Game, type GameVersion } from "@prisma/client";
import type { Game, GameVersion } from "@prisma/client";
import { micromark } from "micromark";
import { DateTime } from "luxon";
import { SerializeObject } from "nitropack";
import { PlatformClient } from "~/composables/types";
import type { SerializeObject } from "nitropack";
import type { PlatformClient } from "~/composables/types";
const route = useRoute();
const gameId = route.params.id.toString();