From eae19bb1b047b3568e7a9a624b50e80886e56331 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Mon, 4 Nov 2024 13:47:50 +0300
Subject: feat/frontend: optimizing imports, file extensions (#230)

Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
---
 frontend/src/api/Auth.tsx | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100644 frontend/src/api/Auth.tsx

(limited to 'frontend/src/api/Auth.tsx')

diff --git a/frontend/src/api/Auth.tsx b/frontend/src/api/Auth.tsx
deleted file mode 100644
index 09269e6..0000000
--- a/frontend/src/api/Auth.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import axios from "axios";
-import { url } from "./Api";
-
-export const get_token = async (): Promise<string | undefined> => {
-  const response = await axios.get(url(`token`))
-  if (!response.data.success) {
-    return undefined;
-  }
-  return response.data.data.token;
-};
-
-export const delete_token = async () => {
-  await axios.delete(url("token"));
-};
-- 
cgit v1.2.3

