mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2024-11-17 06:29:28 +08:00
Merge pull request #15 from lemeow125/hotfix/public_notes
Hotfix/public notes
This commit is contained in:
commit
8982edae7a
2 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
// Note APIs
|
||||
|
||||
const instance = axios.create({
|
||||
baseURL: "https://keannu125.pythonanywhere.com",
|
||||
baseURL: "https://keannu126.pythonanywhere.com",
|
||||
});
|
||||
|
||||
export function GetNotes() {
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue