From e6298823500c9dfc181758c53db7978a9e829c1f Mon Sep 17 00:00:00 2001 From: snmln Date: Mon, 9 Dec 2024 20:54:00 -0500 Subject: [PATCH] correct ts and lint errors --- app/scripts/components/common/layout-root/index.tsx | 2 +- app/scripts/components/common/page-footer/index.tsx | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/scripts/components/common/layout-root/index.tsx b/app/scripts/components/common/layout-root/index.tsx index 50c32547d..04c7bbe8c 100644 --- a/app/scripts/components/common/layout-root/index.tsx +++ b/app/scripts/components/common/layout-root/index.tsx @@ -113,7 +113,7 @@ function LayoutRoot(props: { children?: ReactNode }) { primarySection={{ footerPrimaryContactItems, footerPrimaryNavItems - }} + }} // @ts-expect-error: NEED TO DELETE hideFooter={hideFooter} /> ) : ( diff --git a/app/scripts/components/common/page-footer/index.tsx b/app/scripts/components/common/page-footer/index.tsx index b6f7f9679..62f60f5b5 100644 --- a/app/scripts/components/common/page-footer/index.tsx +++ b/app/scripts/components/common/page-footer/index.tsx @@ -1,4 +1,4 @@ -import React, { ComponentType } from 'react'; +import React from 'react'; import { Icon } from '@trussworks/react-uswds'; import NasaLogoColor from '../../nasa-logo-color.js'; import { @@ -19,7 +19,7 @@ export default function PageFooter({ primarySection, hidefooter }: PageFooterProps) { - console.log(settings, primarySection, hidefooter); + // console.log(settings, primarySection, hidefooter); const returnToTopButton = () => { return (