Merge pull request #15 from lemeow125/hotfix/public_notes

Hotfix/public notes
This commit is contained in:
lemeow125 2023-03-29 20:28:33 +08:00 committed by GitHub
commit 8982edae7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -10,7 +10,7 @@ import {
// Note APIs
const instance = axios.create({
baseURL: "https://keannu125.pythonanywhere.com",
baseURL: "https://keannu126.pythonanywhere.com",
});
export function GetNotes() {

View file

@ -32,6 +32,7 @@ export default function ViewToggle() {
/>
<p style={styles.text_small}>{switchLabel}</p>
</div>
<p style={styles.text_medium}>Public Notes</p>
<PublicNotes />
</div>
);
@ -59,6 +60,7 @@ export default function ViewToggle() {
/>
<p style={styles.text_small}>{switchLabel}</p>
</div>
<p style={styles.text_medium}>Private Notes</p>
<Notes />
</div>
);