From 4e25c6bf94d75cae6d6920419ecc1cb45bc4684d Mon Sep 17 00:00:00 2001
From: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
Date: Wed, 16 Nov 2022 15:06:56 -0800
Subject: [PATCH] linting
---
src/components/UI/Header.tsx | 15 ++----
src/components/UI/downloads/DownloadsHero.tsx | 10 ++--
src/components/UI/icons/LinuxPenguin.tsx | 11 +++--
src/components/UI/icons/MacosLogo.tsx | 9 ++--
src/components/UI/icons/SourceBranch.tsx | 11 +++--
src/components/UI/icons/TwitterIcon.tsx | 11 +++--
src/components/UI/icons/WindowsLogo.tsx | 9 ++--
src/components/layouts/Footer.tsx | 48 +++++--------------
src/pages/downloads.tsx | 4 +-
9 files changed, 58 insertions(+), 70 deletions(-)
diff --git a/src/components/UI/Header.tsx b/src/components/UI/Header.tsx
index b8bc168946..78bd77f3be 100644
--- a/src/components/UI/Header.tsx
+++ b/src/components/UI/Header.tsx
@@ -9,12 +9,7 @@ export const Header: FC = () => {
const { colorMode, toggleColorMode } = useColorMode();
const isDark = colorMode === 'dark';
return (
-
+
{
>
-
- go-ethereum
-
+ go-ethereum
@@ -108,12 +101,12 @@ export const Header: FC = () => {
borderColor='primary'
onClick={toggleColorMode}
>
- {isDark ? : }
+ {isDark ? : }
{/* HAMBURGER MENU */}
-
+
diff --git a/src/components/UI/downloads/DownloadsHero.tsx b/src/components/UI/downloads/DownloadsHero.tsx
index 487dea11c1..1ca47587be 100644
--- a/src/components/UI/downloads/DownloadsHero.tsx
+++ b/src/components/UI/downloads/DownloadsHero.tsx
@@ -2,7 +2,7 @@ import { Box, Button, Link, Stack, HStack, Text } from '@chakra-ui/react';
import { FC } from 'react';
import NextLink from 'next/link';
-import { GopherDownloads } from '../svgs'
+import { GopherDownloads } from '../svgs';
import { DOWNLOAD_HEADER_BUTTONS } from '../../../constants';
@@ -33,7 +33,7 @@ export const DownloadsHero: FC = ({
return (
-
+
@@ -58,7 +58,7 @@ export const DownloadsHero: FC = ({
{Object.keys(DOWNLOAD_HEADER_BUTTONS).map((key: string) => {
- const { name, buildURL, Svg, ariaLabel } = DOWNLOAD_HEADER_BUTTONS[key];
+ const { name, buildURL, Svg, ariaLabel } = DOWNLOAD_HEADER_BUTTONS[key];
return (
-
- For {name}
-
+ For {name}
geth {currentBuildName}
diff --git a/src/components/UI/icons/LinuxPenguin.tsx b/src/components/UI/icons/LinuxPenguin.tsx
index 338d18b220..377fb62376 100644
--- a/src/components/UI/icons/LinuxPenguin.tsx
+++ b/src/components/UI/icons/LinuxPenguin.tsx
@@ -7,10 +7,15 @@ const Icon = createIcon({
displayName: 'LinuxPenguin',
viewBox: `0 0 ${w} ${h}`,
path: (
-