diff --git a/src/App.tsx b/src/App.tsx index 2aa9a43..bdc3b03 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,6 +7,7 @@ import { StatusBubble } from "./features/chat/StatusBubble"; import { ProfileManager } from "./features/profiles/ProfileManager"; import { PetPackImporter } from "./features/pet/PetPackImporter"; import { connectionRuntimeStatusSchema } from "./features/chat/types"; +import aemeathSpritesheet from "./features/pet/assets/aemeath/aemeath-spritesheet.webp"; import { bootstrapStatusSchema, type BootstrapStatus } from "./types/bootstrap"; type PageKey = "chat" | "connections" | "desktop" | "pet" | "diagnostics"; @@ -21,10 +22,7 @@ const initialStatus: BootstrapStatus = { databaseSchemaVersion: 4, }; -const AEMEATH_SPRITESHEET = new URL( - "./features/pet/assets/aemeath/aemeath-spritesheet.webp", - import.meta.url, -).href; +const AEMEATH_SPRITESHEET = aemeathSpritesheet; const AEMEATH_FRAMES: Record<"idle" | "working" | "resting" | "speaking" | "error", number[]> = { idle: [0, 1, 2, 3, 4, 5],