make pp gain label dynamic
All checks were successful
deploy / deploy (push) Successful in 5s

This commit is contained in:
Lee 2023-10-29 21:00:24 +00:00
parent 2c266b54ea
commit cf1194c635

@ -10,6 +10,7 @@ import {
UserIcon,
XMarkIcon,
} from "@heroicons/react/20/solid";
import dynamic from "next/dynamic";
import { useRef } from "react";
import { toast } from "react-toastify";
import { useStore } from "zustand";
@ -18,7 +19,8 @@ import Button from "../Button";
import Card from "../Card";
import CountyFlag from "../CountryFlag";
import Label from "../Label";
import PPGainLabel from "./PPGainLabel";
const PPGainLabel = dynamic(() => import("./PPGainLabel"));
type PlayerInfoProps = {
playerData: ScoresaberPlayer;