From c9e67a8ec9acf6a6acf669ff71d7e702703e3729 Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Sat, 6 Jan 2024 11:04:40 +1000 Subject: [PATCH] format src --- src/components/BaseCSS.tsx | 3 +- src/components/tools/FrequencyCalculator.tsx | 4 +- src/pages/credits/index.tsx | 1 - .../downloads/_components/FirmwareCard.tsx | 4 +- src/pages/downloads/index.tsx | 9 ++-- src/pages/index.tsx | 2 - src/pages/tools/OEM.tsx | 2 +- src/theme/NotFound/Content/index.js | 22 +++++----- src/theme/NotFound/index.js | 13 +++--- src/utils/calculateADC.ts | 42 +++++++++---------- 10 files changed, 48 insertions(+), 54 deletions(-) diff --git a/src/components/BaseCSS.tsx b/src/components/BaseCSS.tsx index ca0d70e5..b873c75f 100644 --- a/src/components/BaseCSS.tsx +++ b/src/components/BaseCSS.tsx @@ -1,8 +1,7 @@ // class .markdown needs to be called or it is removed from the build -import React from "react"; const BaseCSS = () => { - return
Shid Fard
; + return
Shid Fard
; }; export default BaseCSS; diff --git a/src/components/tools/FrequencyCalculator.tsx b/src/components/tools/FrequencyCalculator.tsx index f8048dbc..47f63eac 100644 --- a/src/components/tools/FrequencyCalculator.tsx +++ b/src/components/tools/FrequencyCalculator.tsx @@ -340,11 +340,11 @@ export const FrequencyCalculator = (): JSX.Element => {
- +
- +
); diff --git a/src/pages/credits/index.tsx b/src/pages/credits/index.tsx index c9e1fecd..18b87fa1 100644 --- a/src/pages/credits/index.tsx +++ b/src/pages/credits/index.tsx @@ -1,6 +1,5 @@ import Link from "@docusaurus/Link"; import Layout from "@theme/Layout"; -import React from "react"; const Credits = (): JSX.Element => { return ( diff --git a/src/pages/downloads/_components/FirmwareCard.tsx b/src/pages/downloads/_components/FirmwareCard.tsx index fb76cdfa..a425f168 100644 --- a/src/pages/downloads/_components/FirmwareCard.tsx +++ b/src/pages/downloads/_components/FirmwareCard.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import { DeviceFirmwareResource } from "../../../utils/apiTypes"; export interface releaseCardProps { @@ -49,7 +47,7 @@ export const FirmwareCard = ({ ) : (