From a26bf5399679e9b8f73d86227a7b1aae251f92f6 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 29 Oct 2024 12:39:57 +0000 Subject: [PATCH] this is useless --- projects/website/next.config.ts | 1 - projects/website/src/components/player/claim-profile.tsx | 2 -- 2 files changed, 3 deletions(-) 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