From adb809f9733fe54a7a3862f75aa0ab35e78bb638 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Thu, 6 Oct 2022 15:19:37 -0700 Subject: [PATCH] Fix google lighthouse issues (#1013) --- web/components/nav/manifold-logo.tsx | 1 + web/components/nav/more-button.tsx | 4 ++-- web/pages/_app.tsx | 5 +---- web/pages/_document.tsx | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/web/components/nav/manifold-logo.tsx b/web/components/nav/manifold-logo.tsx index ec15d54b..b6dbc885 100644 --- a/web/components/nav/manifold-logo.tsx +++ b/web/components/nav/manifold-logo.tsx @@ -22,6 +22,7 @@ export function ManifoldLogo(props: { src={darkBackground ? '/logo-white.svg' : '/logo.svg'} width={45} height={45} + alt="" /> {!hideText && diff --git a/web/components/nav/more-button.tsx b/web/components/nav/more-button.tsx index 5e6653f3..9847541c 100644 --- a/web/components/nav/more-button.tsx +++ b/web/components/nav/more-button.tsx @@ -11,13 +11,13 @@ function SidebarButton(props: { }) { const { text, children } = props return ( - + ) } diff --git a/web/pages/_app.tsx b/web/pages/_app.tsx index 48ad5a9a..7a96b2e2 100644 --- a/web/pages/_app.tsx +++ b/web/pages/_app.tsx @@ -74,10 +74,7 @@ function MyApp({ Component, pageProps }: AppProps) { content="https://manifold.markets/logo-bg-white.png" key="image2" /> - + diff --git a/web/pages/_document.tsx b/web/pages/_document.tsx index b8cb657c..f2c46854 100644 --- a/web/pages/_document.tsx +++ b/web/pages/_document.tsx @@ -3,7 +3,7 @@ import { ENV_CONFIG } from 'common/envs/constants' export default function Document() { return ( - +