Removed unused token code snippet

This commit is contained in:
keannu125 2023-03-29 20:34:28 +08:00
parent fc7488f8aa
commit 7b63a12ae4

View file

@ -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;
}); });