From c9ec674b6d76652086bbeb3fa1ad35c7d8f13f4d Mon Sep 17 00:00:00 2001 From: eonflower Date: Wed, 3 Apr 2024 18:12:59 -0700 Subject: [PATCH] updated confirm message, fixed ghost toast when sharing, added unshare toast --- src/components/AddList.jsx | 2 +- src/components/ConfirmToast.jsx | 41 +++++----- src/components/InviteForm.jsx | 20 ++++- src/components/NavigationBarAddList.jsx | 2 +- src/components/SharedWithList.jsx | 99 ++++++++++++++----------- src/components/SingleList.jsx | 9 ++- 6 files changed, 99 insertions(+), 74 deletions(-) diff --git a/src/components/AddList.jsx b/src/components/AddList.jsx index 57c6f86..455fac9 100644 --- a/src/components/AddList.jsx +++ b/src/components/AddList.jsx @@ -40,7 +40,7 @@ export default function AddList({ setListPath }) { setListPath(listPath); setTimeout(() => { navigate('/list'); - }, 2000); + }, 3000); } else { addToast({ id: 'problemCreatingList', diff --git a/src/components/ConfirmToast.jsx b/src/components/ConfirmToast.jsx index 6a30ae2..8a45823 100644 --- a/src/components/ConfirmToast.jsx +++ b/src/components/ConfirmToast.jsx @@ -9,10 +9,10 @@ const ConfirmToast = ({ onCancel, }) => { return ( -
+