1
Fork 0

Pretend everything is fine

This commit is contained in:
Steffo 2024-11-28 00:32:10 +01:00
parent 84a17509f2
commit 6f1df9da44
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 2 additions and 3 deletions

View file

@ -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"
}
}

View file

@ -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) {