diff --git a/holycow_frontend/package.json b/holycow_frontend/package.json index 78da87c..a7c89aa 100644 --- a/holycow_frontend/package.json +++ b/holycow_frontend/package.json @@ -17,7 +17,6 @@ "next": "15.0.3", "react": "19.0.0-rc-66855b96-20241106", "react-dom": "19.0.0-rc-66855b96-20241106", - "swr": "^2.2.5", "typescript": "^5.7.2" } } diff --git a/holycow_frontend/src/app/page.tsx b/holycow_frontend/src/app/page.tsx index 28056d1..6e8bd99 100644 --- a/holycow_frontend/src/app/page.tsx +++ b/holycow_frontend/src/app/page.tsx @@ -4,7 +4,6 @@ import { StatPanel } from "@/components/StatPanel"; import { useTelegram } from "@/components/useTelegram"; import { useMemo } from "react"; import classNames from "classnames"; -import useSWR from "swr"; export default function Page() { const telegram = useTelegram() @@ -12,7 +11,8 @@ export default function Page() { const userId = telegramData?.user?.id const userName = telegramData?.user?.first_name ?? "???" - const { data: resultsData, error: resultsError } = useSWR(undefined) + const resultsData = undefined + const resultsError = undefined const contents = useMemo(() => { if(resultsError) {