mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
Abstract out a hook, useConfirmOnClose, for the pattern where we show a confirmation modal on close, conditional on whether the user has made edits. --------- Co-authored-by: Alaister Young <a@alaisteryoung.com>