diff --git a/apps/map/src/app/_components/modal/admin-aos-modal.tsx b/apps/map/src/app/_components/modal/admin-aos-modal.tsx index 1e835f43..6d0b93a3 100644 --- a/apps/map/src/app/_components/modal/admin-aos-modal.tsx +++ b/apps/map/src/app/_components/modal/admin-aos-modal.tsx @@ -125,11 +125,7 @@ export default function AdminAOsModal({ await crupdateAO .mutateAsync({ ...data, orgType: "ao" }) .then(() => { - void invalidateQueries( - orpc.org.all.queryOptions({ - input: { orgTypes: ["ao"] }, - }), - ); + void invalidateQueries("org"); closeModal(); toast.success("Successfully updated ao"); router.refresh();