mirror of
https://github.com/supabase/supabase.git
synced 2026-05-23 19:13:13 +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>