Pretend everything is fine
This commit is contained in:
parent
84a17509f2
commit
6f1df9da44
2 changed files with 2 additions and 3 deletions
|
@ -17,7 +17,6 @@
|
||||||
"next": "15.0.3",
|
"next": "15.0.3",
|
||||||
"react": "19.0.0-rc-66855b96-20241106",
|
"react": "19.0.0-rc-66855b96-20241106",
|
||||||
"react-dom": "19.0.0-rc-66855b96-20241106",
|
"react-dom": "19.0.0-rc-66855b96-20241106",
|
||||||
"swr": "^2.2.5",
|
|
||||||
"typescript": "^5.7.2"
|
"typescript": "^5.7.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@ import { StatPanel } from "@/components/StatPanel";
|
||||||
import { useTelegram } from "@/components/useTelegram";
|
import { useTelegram } from "@/components/useTelegram";
|
||||||
import { useMemo } from "react";
|
import { useMemo } from "react";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import useSWR from "swr";
|
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
const telegram = useTelegram()
|
const telegram = useTelegram()
|
||||||
|
@ -12,7 +11,8 @@ export default function Page() {
|
||||||
const userId = telegramData?.user?.id
|
const userId = telegramData?.user?.id
|
||||||
const userName = telegramData?.user?.first_name ?? "???"
|
const userName = telegramData?.user?.first_name ?? "???"
|
||||||
|
|
||||||
const { data: resultsData, error: resultsError } = useSWR(undefined)
|
const resultsData = undefined
|
||||||
|
const resultsError = undefined
|
||||||
|
|
||||||
const contents = useMemo(() => {
|
const contents = useMemo(() => {
|
||||||
if(resultsError) {
|
if(resultsError) {
|
||||||
|
|
Loading…
Reference in a new issue