Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove unused imports

Maidul Islamdedbc4fd6031
diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx
index bb4a3e4eaa..43d36d06b0 100644
--- a/frontend/src/pages/org/[id]/overview/index.tsx
+++ b/frontend/src/pages/org/[id]/overview/index.tsx
@@ -24,8 +24,6 @@ import {
faPlug,
faPlus,
faUserPlus,
- faWarning,
- faXmark
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { yupResolver } from "@hookform/resolvers/yup";
@@ -58,7 +56,6 @@ import {
fetchOrgUsers,
useAddUserToWs,
useCreateWorkspace,
- useGetUserAction,
useRegisterUserAction,
useUploadWsKey
} from "@app/hooks/api";
@@ -480,13 +477,6 @@ const OrganizationPage = withPermission(
const { createNotification } = useNotificationContext();
const addWsUser = useAddUserToWs();
- const { data: updateClosed } = useGetUserAction("jan_2024_db_update_closed");
-
- const registerUserAction = useRegisterUserAction();
- const closeUpdate = async () => {
- await registerUserAction.mutateAsync("jan_2024_db_update_closed");
- };
-
const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([
"addNewWs",
"upgradePlan"