From 40220792447b4bbfdb4ac6c44228e61a6b580904 Mon Sep 17 00:00:00 2001 From: illusionTBA Date: Mon, 18 Nov 2024 15:26:53 -0500 Subject: [PATCH] fix build --- src/components/hooks/useRuffle.tsx | 2 +- src/routes/games.tsx | 2 -- src/routes/play.tsx | 2 +- tsconfig.app.tsbuildinfo | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/hooks/useRuffle.tsx b/src/components/hooks/useRuffle.tsx index 1d4b629..ecdba44 100644 --- a/src/components/hooks/useRuffle.tsx +++ b/src/components/hooks/useRuffle.tsx @@ -48,7 +48,7 @@ const useRuffle = ( scale: "showAll", quality: "high", }; - window.addEventListener("load", (event) => { + window.addEventListener("load", (_event) => { const ruffle = window.RufflePlayer.newest(); const player = ruffle.createPlayer(); Rufflecontainer.current.appendChild(player); diff --git a/src/routes/games.tsx b/src/routes/games.tsx index 8fefa1a..58edd5d 100644 --- a/src/routes/games.tsx +++ b/src/routes/games.tsx @@ -1,11 +1,9 @@ -import * as React from "react"; import { createFileRoute, Link } from "@tanstack/react-router"; import GridPattern from "@/components/ui/grid-pattern"; import { cn } from "@/lib/utils"; import { Card, CardContent, - CardDescription, CardFooter, CardHeader, CardTitle, diff --git a/src/routes/play.tsx b/src/routes/play.tsx index 62557aa..3c2bc1d 100644 --- a/src/routes/play.tsx +++ b/src/routes/play.tsx @@ -2,7 +2,7 @@ import { createFileRoute, Link } from "@tanstack/react-router"; import GridPattern from "@/components/ui/grid-pattern"; import { cn } from "@/lib/utils"; import { Home, FullscreenIcon, Gamepad } from "lucide-react"; -import { useEffect, useRef } from "react"; +import { useRef } from "react"; import useRuffle from "@/components/hooks/useRuffle"; type GameSearch = { title: string; diff --git a/tsconfig.app.tsbuildinfo b/tsconfig.app.tsbuildinfo index f70bc38..2cb5bb4 100644 --- a/tsconfig.app.tsbuildinfo +++ b/tsconfig.app.tsbuildinfo @@ -1 +1 @@ -{"root":["./src/main.tsx","./src/routeTree.gen.ts","./src/store.ts","./src/vite-env.d.ts","./src/components/xor.ts","./src/components/hooks/useSw.tsx","./src/components/ui/button.tsx","./src/components/ui/dialog.tsx","./src/components/ui/dock.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/gradual-spacing.tsx","./src/components/ui/grid-pattern.tsx","./src/components/ui/input.tsx","./src/components/ui/letter-pullup.tsx","./src/components/ui/select.tsx","./src/components/ui/separator.tsx","./src/lib/utils.ts","./src/routes/__root.tsx","./src/routes/chat.lazy.tsx","./src/routes/index.lazy.tsx"],"version":"5.6.3"} \ No newline at end of file +{"root":["./src/main.tsx","./src/routeTree.gen.ts","./src/store.ts","./src/vite-env.d.ts","./src/components/xor.ts","./src/components/hooks/useRuffle.tsx","./src/components/hooks/useScript.tsx","./src/components/hooks/useSw.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/dialog.tsx","./src/components/ui/dock.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/gradual-spacing.tsx","./src/components/ui/grid-pattern.tsx","./src/components/ui/input.tsx","./src/components/ui/letter-pullup.tsx","./src/components/ui/select.tsx","./src/components/ui/separator.tsx","./src/lib/utils.ts","./src/routes/__root.tsx","./src/routes/chat.lazy.tsx","./src/routes/games.tsx","./src/routes/index.tsx","./src/routes/play.tsx"],"version":"5.6.3"} \ No newline at end of file