diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx
index 4f0cba998..7200f92c9 100644
--- a/frontend/src/layouts/AppLayout/AppLayout.tsx
+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx
@@ -71,7 +71,9 @@ import {
useGetUserAction,
useLogoutUser,
useRegisterUserAction,
- useUploadWsKey} from "@app/hooks/api";
+ useUploadWsKey
+} from "@app/hooks/api";
+import { CreateOrgModal } from "@app/views/Org/components";
interface LayoutProps {
children: React.ReactNode;
@@ -115,12 +117,12 @@ export const AppLayout = ({ children }: LayoutProps) => {
// eslint-disable-next-line prefer-const
const { workspaces, currentWorkspace } = useWorkspace();
const { orgs, currentOrg } = useOrganization();
-
+
const { user } = useUser();
const { subscription } = useSubscription();
const workspaceId = currentWorkspace?._id || "";
const { data: updateClosed } = useGetUserAction("september_update_closed");
-
+
const { data: secretApprovalReqCount } = useGetSecretApprovalRequestCount({ workspaceId });
const isAddingProjectsAllowed = subscription?.workspaceLimit
@@ -134,7 +136,8 @@ export const AppLayout = ({ children }: LayoutProps) => {
const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([
"addNewWs",
- "upgradePlan"
+ "upgradePlan",
+ "createOrg"
] as const);
const {
control,
@@ -151,7 +154,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
const closeUpdate = async () => {
await registerUserAction.mutateAsync("september_update_closed");
- }
+ };
const logout = useLogoutUser();
const logOutUser = async () => {
@@ -318,6 +321,22 @@ export const AppLayout = ({ children }: LayoutProps) => {
))}
+
+
+