diff --git a/src/components/HubSpot.tsx b/src/components/HubSpot.tsx index 14dc066cf2c..e95fc48b6ce 100644 --- a/src/components/HubSpot.tsx +++ b/src/components/HubSpot.tsx @@ -9,15 +9,18 @@ interface EmbeddedHubSpotProps { [index: string]: string } -const EmbeddedHubSpot: FunctionComponent = ({ portalId, formId, targetId, region }) => ( +export const EmbeddedHubSpot: FunctionComponent = ({ portalId, formId, targetId, region }) => ( ) - -export default EmbeddedHubSpot diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index 3b8a384fbf5..5e8f50fad44 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -6,11 +6,6 @@ import React, { FunctionComponent, ReactNode, ReactFragment } from 'react' import Footer from './Footer' import Header from './Header' -interface LayoutScript { - src: string - strategy?: 'afterInteractive' | 'lazyOnload' | 'beforeInteractive' | undefined -} - interface LayoutProps { meta?: { title?: string @@ -29,8 +24,6 @@ interface LayoutProps { className?: string hideFooter?: boolean hideGetStartedButton?: boolean - - scripts?: LayoutScript[] } export const Layout: FunctionComponent = props => { @@ -88,9 +81,6 @@ export const Layout: FunctionComponent = props => {
{props.children}
{!props.hideFooter &&