diff --git a/projects/website/next.config.ts b/projects/website/next.config.ts index 0f0966d..06e54a0 100644 --- a/projects/website/next.config.ts +++ b/projects/website/next.config.ts @@ -43,7 +43,6 @@ const withBundleAnalyzer = nextBundleAnalyzer({ }); const config = withBundleAnalyzer(nextConfig); - export default isProduction() ? withSentryConfig(config, { org: "fascinatedcc", diff --git a/projects/website/src/components/player/claim-profile.tsx b/projects/website/src/components/player/claim-profile.tsx index 444ddbc..16f43b5 100644 --- a/projects/website/src/components/player/claim-profile.tsx +++ b/projects/website/src/components/player/claim-profile.tsx @@ -6,7 +6,6 @@ import useDatabase from "../../hooks/use-database"; import { useToast } from "@/hooks/use-toast"; import Tooltip from "../tooltip"; import { Button } from "../ui/button"; -import { revalidatePath } from "next/cache"; import { setCookieValue } from "@ssr/common/utils/cookie-utils"; type Props = { @@ -33,7 +32,6 @@ export default function ClaimProfile({ playerId }: Props) { title: "Profile Claimed", description: "You have claimed this profile.", }); - revalidatePath("/player/[...slug]"); } // Database is not ready