mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2024-11-16 22:19:27 +08:00
Removed unused token code snippet
This commit is contained in:
parent
fc7488f8aa
commit
7b63a12ae4
1 changed files with 0 additions and 1 deletions
|
@ -27,7 +27,6 @@ export function GetNotes() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetPublicNotes() {
|
export function GetPublicNotes() {
|
||||||
const token = JSON.parse(localStorage.getItem("token") || "{}");
|
|
||||||
return instance.get("/api/v1/public_notes/").then((response) => {
|
return instance.get("/api/v1/public_notes/").then((response) => {
|
||||||
return response.data;
|
return response.data;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue