From be58f3c429c3d27668b606f60feffb7c919b3763 Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Wed, 12 Jul 2023 11:50:36 -0700 Subject: [PATCH] removed the learning item from sidebar --- frontend/src/layouts/AppLayout/AppLayout.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx index 0f5050554..4bfbbc2a5 100644 --- a/frontend/src/layouts/AppLayout/AppLayout.tsx +++ b/frontend/src/layouts/AppLayout/AppLayout.tsx @@ -7,10 +7,9 @@ // @ts-nocheck import crypto from "crypto"; -import { useEffect, useState } from "react"; +import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; import { useTranslation } from "react-i18next"; -import Image from "next/image"; import Link from "next/link"; import { useRouter } from "next/router"; import { faGithub, faSlack } from "@fortawesome/free-brands-svg-icons"; @@ -88,7 +87,7 @@ export const AppLayout = ({ children }: LayoutProps) => { const { orgs, currentOrg } = useOrganization(); const { user } = useUser(); const { subscription } = useSubscription(); - const [ isLearningNoteOpen, setIsLearningNoteOpen ] = useState(true); + // const [ isLearningNoteOpen, setIsLearningNoteOpen ] = useState(true); const isAddingProjectsAllowed = subscription?.workspaceLimit ? (subscription.workspacesUsed < subscription.workspaceLimit) : true; @@ -489,10 +488,10 @@ export const AppLayout = ({ children }: LayoutProps) => {
- {/*
+ {/*
-
*/} +
Kubernetes Operator
Integrate Infisical into your Kubernetes infrastructure
@@ -516,7 +515,7 @@ export const AppLayout = ({ children }: LayoutProps) => { Learn More
-
+
*/} {router.asPath.includes("org") &&
null} role="button"