From e95f5096db0b927b0cebf3603e71b0623b1b90ed Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Mon, 6 Dec 2021 09:09:08 +0100 Subject: [PATCH] Improve wording on profile page ("My" instead of "Your") --- frontend/src/components/Stats/index.tsx | 2 +- frontend/src/pages/SettingsPage.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Stats/index.tsx b/frontend/src/components/Stats/index.tsx index efa7381..b347f41 100644 --- a/frontend/src/components/Stats/index.tsx +++ b/frontend/src/components/Stats/index.tsx @@ -65,7 +65,7 @@ export default function Stats({user = null}: {user?: null | string}) { return ( <> -
Statistics
+
{user && 'My '}Statistics
diff --git a/frontend/src/pages/SettingsPage.tsx b/frontend/src/pages/SettingsPage.tsx index 2dcbb02..abb0b48 100644 --- a/frontend/src/pages/SettingsPage.tsx +++ b/frontend/src/pages/SettingsPage.tsx @@ -48,7 +48,7 @@ const SettingsPage = connect((state) => ({login: state.login}), {setLogin})(func -
Your profile
+
My profile
All of this information is public. @@ -141,7 +141,7 @@ function ApiKeyDialog({login, onGenerateNewKey}) { return ( <> -
Your API Key
+
My API Key

Here you find your API Key, for use in the OpenBikeSensor. You can to copy and paste it into your sensor's configuration interface to allow direct upload from the device.