Skip to content

Commit

Permalink
[Gitar] Cleaning up Tsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitar Bot committed May 17, 2024
1 parent b675287 commit 82e62c8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/front-end/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 82e62c8

Please sign in to comment.