make chart not dynamic
All checks were successful
deploy / deploy (push) Successful in 53s

This commit is contained in:
Lee 2023-10-24 12:27:57 +01:00
parent 3af4405fcc
commit af4c117894

@ -6,7 +6,6 @@ import {
calcPpBoundary, calcPpBoundary,
getAveragePp, getAveragePp,
getHighestPpPlay, getHighestPpPlay,
getTotalScores,
} from "@/utils/scoresaber/scores"; } from "@/utils/scoresaber/scores";
import { import {
GlobeAsiaAustraliaIcon, GlobeAsiaAustraliaIcon,
@ -21,8 +20,8 @@ import { useStore } from "zustand";
import Avatar from "../Avatar"; import Avatar from "../Avatar";
import Card from "../Card"; import Card from "../Card";
import Label from "../Label"; import Label from "../Label";
import PlayerChart from "./PlayerChart";
const PlayerChart = dynamic(() => import("./PlayerChart"));
const ReactCountryFlag = dynamic(() => import("react-country-flag")); const ReactCountryFlag = dynamic(() => import("react-country-flag"));
type PlayerInfoProps = { type PlayerInfoProps = {