From 33941ce3591b7a0fb259ec6250e2c38716a2783e Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Fri, 23 Sep 2022 03:28:46 -0700 Subject: [PATCH] Add PR template, run prettier --- .github/pull_request_template.md | 4 ++++ frontend/src/components/Dialogs/Stats.tsx | 13 ++++++++++--- .../src/components/Robots/RobotAvatar/index.tsx | 2 +- frontend/static/locales/en.json | 8 ++++---- 4 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..848ff5cd --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,4 @@ +## What does this PR do? + +## Checklist before merging +- [ ] If its a frontend feature, I have ran prettier (`cd frontend; npm run format`). \ No newline at end of file diff --git a/frontend/src/components/Dialogs/Stats.tsx b/frontend/src/components/Dialogs/Stats.tsx index 7f408cbb..158f7d35 100644 --- a/frontend/src/components/Dialogs/Stats.tsx +++ b/frontend/src/components/Dialogs/Stats.tsx @@ -75,9 +75,16 @@ const StatsDialog = ({ - + - + @@ -96,7 +103,7 @@ const StatsDialog = ({ - + = ({ borderRadius: '50%', transform: 'scaleX(-1)', border: '0.3px solid #555', - filter: 'dropShadow(0.5px 0.5px 0.5px #000000)' + filter: 'dropShadow(0.5px 0.5px 0.5px #000000)', }} /> diff --git a/frontend/static/locales/en.json b/frontend/static/locales/en.json index c7c45260..be153820 100644 --- a/frontend/static/locales/en.json +++ b/frontend/static/locales/en.json @@ -235,10 +235,10 @@ "On your own sovereign node": "On your own sovereign node", "Simply refresh your Tor Browser tab (or press Ctrl+Shift+R)": "Simply refresh your Tor Browser tab (or press Ctrl+Shift+R)", "On remotely served client via web": "On remotely served client via web", - "Client":"Client", - "Coordinator":"Coordinator", - "RoboSats version":"RoboSats version", - "LN Node":"LN Node", + "Client": "Client", + "Coordinator": "Coordinator", + "RoboSats version": "RoboSats version", + "LN Node": "LN Node", "ORDER PAGE - OrderPage.js": "Order details page", "Order Box": "Order Box",