From 5c5032e395c0b648d51860df35de22240ab2cf7a Mon Sep 17 00:00:00 2001 From: ansan johny Date: Sat, 12 Oct 2024 05:19:13 +0530 Subject: [PATCH 1/3] feat:Api Integration --- .../pages/Organization/Organization.tsx | 46 ++++++++----------- .../modules/Settings/settingsApis.tsx | 33 +++++++++++++ 2 files changed, 53 insertions(+), 26 deletions(-) create mode 100644 src/modules/Dashboard/modules/Settings/settingsApis.tsx diff --git a/src/modules/Dashboard/modules/Settings/pages/Organization/Organization.tsx b/src/modules/Dashboard/modules/Settings/pages/Organization/Organization.tsx index 59a125bfe..bb29ca52d 100644 --- a/src/modules/Dashboard/modules/Settings/pages/Organization/Organization.tsx +++ b/src/modules/Dashboard/modules/Settings/pages/Organization/Organization.tsx @@ -12,6 +12,7 @@ import { } from "../../../../../Common/Authentication/services/newOnboardingApis"; import ReactSelect, { SingleValue } from "react-select"; import { useLocation, useNavigate } from "react-router-dom"; +import { selectOrganization } from "../../settingsApis"; // Define the Option type for ReactSelect type Option = { @@ -61,7 +62,9 @@ export default function CollegePage({}: {}) { const [roles, setRoles] = useState([{ id: "", title: "" }]); const [selectedCollege, setSelectedCollege] = useState