Patching a bug when delete an organization, add refetch.

This commit is contained in:
charlesgauthereau
2025-08-27 18:07:10 +02:00
parent 4c0d2b1f7f
commit dd7a65262c
4 changed files with 4 additions and 11 deletions
@@ -1,5 +1,5 @@
import {PageParams} from "@/types/next";
import {Page, PageActions, PageContent, PageDescription, PageHeader, PageTitle} from "@/features/layout/page";
import {Page, PageActions, PageContent, PageHeader, PageTitle} from "@/features/layout/page";
import {currentUser} from "@/lib/auth/current-user";
import {getActiveMember, getOrganization} from "@/lib/auth/auth";
import {notFound} from "next/navigation";
@@ -27,7 +27,6 @@ export default async function RoutePage(props: PageParams<{ slug: string }>) {
notFound();
}
return (
<Page>
<PageHeader>