diff --git a/client/src/containers/App.tsx b/client/src/containers/App.tsx index d1658ffc1..7c42ad012 100644 --- a/client/src/containers/App.tsx +++ b/client/src/containers/App.tsx @@ -5,8 +5,6 @@ import { Trans, t } from "@lingui/macro"; import "styles/App.css"; import ScrollToTop from "../components/ScrollToTop"; -import SocialShare from "../components/SocialShare"; -import Modal from "../components/Modal"; import FeatureCalloutWidget from "../components/FeatureCalloutWidget"; import classnames from "classnames"; import browser from "util/browser"; @@ -254,7 +252,6 @@ const getMainNavLinks = (isLegacyPath?: boolean) => { const Navbar = () => { const { pathname } = useLocation(); - const [isEngageModalVisible, setEngageModalVisibility] = useState(false); const addFeatureCalloutWidget = process.env.REACT_APP_ENABLE_FEATURE_CALLOUT_WIDGET === "1"; const isDemoSite = process.env.REACT_APP_DEMO_SITE === "1"; const allowChangingPortfolioMethod = @@ -280,10 +277,6 @@ const Navbar = () => { {addFeatureCalloutWidget && } {getMainNavLinks(isLegacyPath(pathname))} - {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */} - setEngageModalVisibility(true)}> - Share - {getAccountNavLinks(userContext.logout, pathname, !!userContext?.user?.email)} @@ -293,12 +286,6 @@ const Navbar = () => { {link} ))} -
  • - {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */} - setEngageModalVisibility(true)}> - Share - -
  • @@ -311,12 +298,6 @@ const Navbar = () => { )} - setEngageModalVisibility(false)}> -
    - Share this page with your neighbors -
    - -
    ); };