mirror of
https://github.com/supabase/supabase.git
synced 2026-06-22 00:02:50 +08: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>