Expense List Table

This commit is contained in:
efrilm
2025-09-10 14:24:18 +07:00
parent c32d08666e
commit 7077bf8d87
12 changed files with 1372 additions and 6 deletions
+2 -1
View File
@@ -33,6 +33,8 @@ api.interceptors.response.use(
const currentPath = window.location.pathname
if (status === 401 && !currentPath.endsWith('/login')) {
localStorage.removeItem('user')
localStorage.removeItem('authToken')
window.location.href = '/login'
}
@@ -47,4 +49,3 @@ api.interceptors.response.use(
return Promise.reject(error)
}
)