From 82e62c8294b31b77c15ab2e58c1b0e6d8307dfdf Mon Sep 17 00:00:00 2001 From: Gitar Bot Date: Fri, 17 May 2024 19:48:24 +0000 Subject: [PATCH] [Gitar] Cleaning up Tsx files --- packages/front-end/components/Layout/Layout.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/front-end/components/Layout/Layout.tsx b/packages/front-end/components/Layout/Layout.tsx index de4eb5d372d6..1927731e52f3 100644 --- a/packages/front-end/components/Layout/Layout.tsx +++ b/packages/front-end/components/Layout/Layout.tsx @@ -9,7 +9,6 @@ import { BsCodeSlash, } from "react-icons/bs"; import { FaArrowRight } from "react-icons/fa"; -import { GlobalPermission } from "@back-end/types/organization"; import { getGrowthBookBuild } from "@/services/env"; import { useUser } from "@/services/UserContext"; import useStripeSubscription from "@/hooks/useStripeSubscription"; @@ -211,11 +210,8 @@ const navlinks: SidebarLinkProps[] = [ name: "Import your data", href: "/importing", path: /^importing/, - filter: ({ permissions, permissionsUtils, gb }) => - permissions.check("manageFeatures", "") && - permissions.check("manageEnvironments" as GlobalPermission) && - permissionsUtils.canCreateProjects() && - !!gb?.isOn("import-from-x"), + filter: () => + false, }, { name: "Billing",