Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(web): refresh billing state after failed seat update
Richie McIlroy1f6be344abfe
diff --git a/apps/web/app/(org)/dashboard/settings/organization/components/SeatManagementCard.tsx b/apps/web/app/(org)/dashboard/settings/organization/components/SeatManagementCard.tsxindex c86bb5bd1..5f6912e57 100644--- a/apps/web/app/(org)/dashboard/settings/organization/components/SeatManagementCard.tsx+++ b/apps/web/app/(org)/dashboard/settings/organization/components/SeatManagementCard.tsx@@ -121,6 +121,10 @@ export function SeatManagementCard() {toast.error(error instanceof Error ? error.message : "Failed to update seats",);+ queryClient.invalidateQueries({+ queryKey: ["subscription-details", organizationId],+ });+ router.refresh();},});