mirror of
https://github.com/supabase/supabase.git
synced 2026-07-02 23:24:21 +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>