diff --git a/src/app/global-error.tsx b/src/app/global-error.tsx index bb2cb54..9388e06 100644 --- a/src/app/global-error.tsx +++ b/src/app/global-error.tsx @@ -24,4 +24,4 @@ export default function GlobalError({ ); -} \ No newline at end of file +} diff --git a/src/common/model/player/impl/scoresaber-player.ts b/src/common/model/player/impl/scoresaber-player.ts index d550570..4a268d6 100644 --- a/src/common/model/player/impl/scoresaber-player.ts +++ b/src/common/model/player/impl/scoresaber-player.ts @@ -1,9 +1,13 @@ -import Player, {StatisticChange} from "../player"; +import Player, { StatisticChange } from "../player"; import ScoreSaberPlayerToken from "@/common/model/token/scoresaber/score-saber-player-token"; -import {PlayerHistory} from "@/common/player/player-history"; -import {config} from "../../../../../config"; +import { PlayerHistory } from "@/common/player/player-history"; +import { config } from "../../../../../config"; import ky from "ky"; -import {formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate,} from "@/common/time-utils"; +import { + formatDateMinimal, + getDaysAgoDate, + getMidnightAlignedDate, +} from "@/common/time-utils"; /** * A ScoreSaber player. diff --git a/src/components/loaders/database-loader.tsx b/src/components/loaders/database-loader.tsx index a82dcc2..5a65387 100644 --- a/src/components/loaders/database-loader.tsx +++ b/src/components/loaders/database-loader.tsx @@ -1,7 +1,7 @@ "use client"; -import {createContext, useEffect, useState} from "react"; -import Database, {db} from "../../common/database/database"; +import { createContext, useEffect, useState } from "react"; +import Database, { db } from "../../common/database/database"; import FullscreenLoader from "./fullscreen-loader"; /** diff --git a/src/components/player/player-data.tsx b/src/components/player/player-data.tsx index 9b44806..9a83b06 100644 --- a/src/components/player/player-data.tsx +++ b/src/components/player/player-data.tsx @@ -29,6 +29,7 @@ export default function PlayerData({ page, }: Props) { const isMobile = useIsMobile(); + console.log("mobile", isMobile); let player = initalPlayerData; const { data, isLoading, isError } = useQuery({ @@ -60,7 +61,7 @@ export default function PlayerData({ /> {!isMobile && ( -