From f701571427a9dd2136407f2ae153d3d3600e6e83 Mon Sep 17 00:00:00 2001 From: mialana <96770662+mialana@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:56:10 -0400 Subject: [PATCH] fixed bugs pt1 --- .../AddScheduleFriendsModalInterior.tsx | 1 + .../modals/model_content_generator.js | 2 +- .../schedule/ScheduleSelectorDropdown.tsx | 22 +++++++------------ 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/frontend/plan/components/modals/AddScheduleFriendsModalInterior.tsx b/frontend/plan/components/modals/AddScheduleFriendsModalInterior.tsx index 026a453cc..22e7370db 100644 --- a/frontend/plan/components/modals/AddScheduleFriendsModalInterior.tsx +++ b/frontend/plan/components/modals/AddScheduleFriendsModalInterior.tsx @@ -43,6 +43,7 @@ const AddScheduleFriendsModalInterior = ({ const [errorObj, setErrorObj] = useState({ message: "", error: false }); useEffect(() => { + console.log(existingData) validateInput( user, userInput, diff --git a/frontend/plan/components/modals/model_content_generator.js b/frontend/plan/components/modals/model_content_generator.js index 70f626ca5..3fd525463 100644 --- a/frontend/plan/components/modals/model_content_generator.js +++ b/frontend/plan/components/modals/model_content_generator.js @@ -35,7 +35,7 @@ export const generateModalInterior = (reduxState) => { return ( {hasFriends ? (
- {primaryScheduleId !== "-1" ? ( -
- Friends -
- ) : ( -
- Click{" "} -