From e99396a50b3544935d366c26ec5d7ad531e6e95e Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 14 Aug 2021 12:34:35 -0700 Subject: [PATCH 1/6] Added loading screen placeholder while sign out is in progress --- src/components/BookAChat/index.tsx | 24 ++++++++++++------------ src/layouts/AuthorizationWrapper.tsx | 7 +++++++ src/layouts/TabLayout/TabLayout.tsx | 7 ++++++- src/utils/firebase/auth.tsx | 2 ++ 4 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/components/BookAChat/index.tsx b/src/components/BookAChat/index.tsx index eb1a0a44..2e173676 100644 --- a/src/components/BookAChat/index.tsx +++ b/src/components/BookAChat/index.tsx @@ -208,19 +208,19 @@ const BookAChat = ({ mentor }: BookAChatProps) => { return (
-
+
Book a chat with{" "} {mentor.user.firstName} {mentor.user.lastName} -
+
If no times are open, the mentor is either completely booked or has not set availabilities yet. -
+
@@ -254,14 +254,14 @@ const BookAChat = ({ mentor }: BookAChatProps) => { /> -
+
Available Times
-
+
{selectedDate @@ -270,7 +270,7 @@ const BookAChat = ({ mentor }: BookAChatProps) => {
-
+
{timeslots.map((timeslot) => { return ( @@ -305,7 +305,7 @@ const BookAChat = ({ mentor }: BookAChatProps) => {
-
+
Date:{" "} @@ -319,7 +319,7 @@ const BookAChat = ({ mentor }: BookAChatProps) => { {dateFormat(selectedTimeslot?.endTime, "h:MMtt")}
-
+
-
+ placeholder="Optional message (i.e. preferred location)" + /> +
-
+
-