Cleanup unused variables

This commit is contained in:
Eli Ribble 2026-04-20 22:34:24 +00:00
parent e929118349
commit 7a6cffa74c
No known key found for this signature in database

View file

@ -1,11 +1,8 @@
// src/api/axios.ts
import axios, { AxiosInstance, AxiosRequestConfig } from "axios";
import router from "@/router";
class ApiClient {
private client: AxiosInstance;
private _hasSession: boolean = false;
private _isAuthenticated: boolean = false;
constructor() {
this.client = axios.create({
@ -33,7 +30,6 @@ class ApiClient {
(response) => response,
(error) => {
if (error.response?.status === 401) {
this._isAuthenticated = false;
// Could emit event or redirect here
}
return Promise.reject(error);