From 8be6d7b5dec36d7bf8868b8a71a14eb90c5b4e37 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Wed, 29 Mar 2023 20:20:02 +0800 Subject: [PATCH 1/2] Update backend url --- src/Components/Api/Api.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Api/Api.tsx b/src/Components/Api/Api.tsx index cb3e0b2..00c9aff 100644 --- a/src/Components/Api/Api.tsx +++ b/src/Components/Api/Api.tsx @@ -10,7 +10,7 @@ import { // Note APIs const instance = axios.create({ - baseURL: "https://keannu125.pythonanywhere.com", + baseURL: "https://keannu126.pythonanywhere.com", }); export function GetNotes() { From aaa5f8b64be7113e465d57d5f84ecb11f089bb91 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Wed, 29 Mar 2023 20:25:05 +0800 Subject: [PATCH 2/2] Added a title header to better indicate whether user is viewing public or private notes --- src/Components/ViewToggle/ViewToggle.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/ViewToggle/ViewToggle.tsx b/src/Components/ViewToggle/ViewToggle.tsx index ced5423..8552070 100644 --- a/src/Components/ViewToggle/ViewToggle.tsx +++ b/src/Components/ViewToggle/ViewToggle.tsx @@ -32,6 +32,7 @@ export default function ViewToggle() { />

{switchLabel}

+

Public Notes

); @@ -59,6 +60,7 @@ export default function ViewToggle() { />

{switchLabel}

+

Private Notes

);