mirror of
https://github.com/supabase/supabase.git
synced 2026-09-25 19:59:11 +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>