mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
* fix: confirmation modal org creation The button when confirming org creation was not working as it was just returning early. The submit handler is triggered both on initially clicking the "Create organization" button and on the confirmation button, but it always early returns if the customer has other free plan orgs with projects, so it doesn't let the customer submit the form 12:44 How to reproduce: - Create a free plan org with an active project - Create a new paid plan organization - Confirmation modal appears - Clicking the button just closes the modal and does not create the org as there is an early return in the onSubmit handler Moved away from ConfirmationModal to an inline info instead * Update NewOrgForm.tsx * Nit refactor --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>