From e3317a8d7b33857e662773f858af9693d0467165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kiljan=CC=81czyk?= Date: Mon, 25 Mar 2024 12:49:44 +0100 Subject: [PATCH] Update .prettierrc --- .prettierrc | 2 +- src/popup/AppShell/AppShell.tsx | 2 +- src/popup/components/PopupContent/PopupContent.tsx | 2 +- src/popup/components/PopupHeader/PopupHeader.tsx | 4 ++-- src/popup/features/HomePage/HomePage.tsx | 12 ++++++------ src/popup/index.tsx | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.prettierrc b/.prettierrc index 8b67fbd..e53e300 100644 --- a/.prettierrc +++ b/.prettierrc @@ -3,7 +3,7 @@ "tabWidth": 4, "printWidth": 100, "singleQuote": true, - "jsxSingleQuote": true, + "jsxSingleQuote": false, "trailingComma": "none", "bracketSameLine": false, "bracketSpacing": false diff --git a/src/popup/AppShell/AppShell.tsx b/src/popup/AppShell/AppShell.tsx index c7d3983..ef39e24 100644 --- a/src/popup/AppShell/AppShell.tsx +++ b/src/popup/AppShell/AppShell.tsx @@ -10,5 +10,5 @@ export default function AppShell(props: {children?: ReactNode}): ReactElement { navigate('/home-page'); }, []); - return
{props.children}
; + return
{props.children}
; } diff --git a/src/popup/components/PopupContent/PopupContent.tsx b/src/popup/components/PopupContent/PopupContent.tsx index f364ff7..ff76f9d 100644 --- a/src/popup/components/PopupContent/PopupContent.tsx +++ b/src/popup/components/PopupContent/PopupContent.tsx @@ -5,7 +5,7 @@ import {ReactElement, ReactNode} from 'react'; export default function PopupContent(props: {children?: ReactNode}): ReactElement { return ( - + {props.children} ); diff --git a/src/popup/components/PopupHeader/PopupHeader.tsx b/src/popup/components/PopupHeader/PopupHeader.tsx index b36b70e..4a48674 100644 --- a/src/popup/components/PopupHeader/PopupHeader.tsx +++ b/src/popup/components/PopupHeader/PopupHeader.tsx @@ -6,8 +6,8 @@ import {ReactElement, ReactNode} from 'react'; export default function PopupHeader(props: {children?: ReactNode}): ReactElement { return ( - - + +

Chrome Extension React

{props.children}
diff --git a/src/popup/features/HomePage/HomePage.tsx b/src/popup/features/HomePage/HomePage.tsx index 7fc858a..02eb3a9 100644 --- a/src/popup/features/HomePage/HomePage.tsx +++ b/src/popup/features/HomePage/HomePage.tsx @@ -66,8 +66,8 @@ export default function HomePage(): ReactElement { <> - - + +

My Chromium extension

@@ -76,8 +76,8 @@ export default function HomePage(): ReactElement {