From f1a1b83b45f8f148c8cf9a576d2c8312eec51cb7 Mon Sep 17 00:00:00 2001 From: DrMint Date: Sun, 13 Mar 2022 15:39:19 +0100 Subject: [PATCH] run prettier --- run_accords_prettier.sh | 2 ++ src/components/Popup.tsx | 4 +++- src/pages/index.tsx | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 run_accords_prettier.sh diff --git a/run_accords_prettier.sh b/run_accords_prettier.sh new file mode 100755 index 0000000..ce5e225 --- /dev/null +++ b/run_accords_prettier.sh @@ -0,0 +1,2 @@ +npx prettier --end-of-line auto --write "**/*.tsx" +npx prettier --end-of-line auto --write "**/*.ts" diff --git a/src/components/Popup.tsx b/src/components/Popup.tsx index c0fc59a..c9a30e1 100644 --- a/src/components/Popup.tsx +++ b/src/components/Popup.tsx @@ -11,7 +11,9 @@ export default function Popup(props: PopupProps): JSX.Element { return (

Accord’s Library

-

Discover • Analyse • Translate • Archive

+

+ Discover • Analyse • Translate • Archive +

{post.translations.length > 0 && (