From 7b63a12ae469fd921b963d90a2fa3877e22177eb Mon Sep 17 00:00:00 2001 From: keannu125 Date: Wed, 29 Mar 2023 20:34:28 +0800 Subject: [PATCH] Removed unused token code snippet --- src/Components/Api/Api.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Components/Api/Api.tsx b/src/Components/Api/Api.tsx index 63358ee..aa2aa7e 100644 --- a/src/Components/Api/Api.tsx +++ b/src/Components/Api/Api.tsx @@ -27,7 +27,6 @@ export function GetNotes() { } export function GetPublicNotes() { - const token = JSON.parse(localStorage.getItem("token") || "{}"); return instance.get("/api/v1/public_notes/").then((response) => { return response.data; });