From 6b2da61dc2e0a5bf43958e2974cd0216f181db6f Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:12:21 -0400 Subject: [PATCH 1/3] refactor(CompanionsPane): Don't pass userId when requesting new companion --- lib/components/user/mobility-profile/companions-pane.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/components/user/mobility-profile/companions-pane.tsx b/lib/components/user/mobility-profile/companions-pane.tsx index e95c2323d..d189b36eb 100644 --- a/lib/components/user/mobility-profile/companions-pane.tsx +++ b/lib/components/user/mobility-profile/companions-pane.tsx @@ -132,8 +132,7 @@ const CompanionsPane = ({ ...companions, { email: newEmail, - status: 'PENDING', - userId: '' + status: 'PENDING' } ]) resetForm() From 0f5713016b038df0ab492af003589ffb42161afb Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:55:44 -0400 Subject: [PATCH 2/3] feat: Add confirmation and error landing pages. --- public/confirmation.html | 5 +++++ public/error.html | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 public/confirmation.html create mode 100644 public/error.html diff --git a/public/confirmation.html b/public/confirmation.html new file mode 100644 index 000000000..3d34e48ff --- /dev/null +++ b/public/confirmation.html @@ -0,0 +1,5 @@ + +
+Your request is confirmed.
+ + diff --git a/public/error.html b/public/error.html new file mode 100644 index 000000000..4707860d3 --- /dev/null +++ b/public/error.html @@ -0,0 +1,19 @@ + + +An error occurred:
++ + +
+ + + From ba97b8e98d76782e228e0b9dca2e06a73139b712 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:13:20 -0400 Subject: [PATCH 3/3] refactor(confirmation.html): Merge error and confirmation pages --- public/confirmation.html | 18 +++++++++++++++++- public/error.html | 19 ------------------- 2 files changed, 17 insertions(+), 20 deletions(-) delete mode 100644 public/error.html diff --git a/public/confirmation.html b/public/confirmation.html index 3d34e48ff..5d9508e3f 100644 --- a/public/confirmation.html +++ b/public/confirmation.html @@ -1,5 +1,21 @@ + +Your request is confirmed.
++ Your request is confirmed. + +
+ diff --git a/public/error.html b/public/error.html deleted file mode 100644 index 4707860d3..000000000 --- a/public/error.html +++ /dev/null @@ -1,19 +0,0 @@ - - -An error occurred:
-- - -
- - -