feat: Frontend CSS refactoring and test improvements
Frontend: - Refactored CSS architecture with new utility classes - Updated dashboard components styling - Improved responsive grid system - Enhanced typography and variables - Updated E2E and integration tests Added: - Claude Code slash commands for validation - SSH tunnel and start test scripts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -38,9 +38,12 @@ apiService.interceptors.response.use(
|
||||
try {
|
||||
const refreshToken = localStorage.getItem("refresh_token");
|
||||
if (refreshToken) {
|
||||
const response = await axios.post(import.meta.env.BASE_URL + "api/auth/refresh", {
|
||||
refresh_token: refreshToken,
|
||||
});
|
||||
const response = await axios.post(
|
||||
import.meta.env.BASE_URL + "api/auth/refresh",
|
||||
{
|
||||
refresh_token: refreshToken,
|
||||
},
|
||||
);
|
||||
|
||||
const { access_token } = response.data;
|
||||
localStorage.setItem("access_token", access_token);
|
||||
@@ -135,5 +138,4 @@ export const invoicesAPI = {
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
export default apiService;
|
||||
|
||||
@@ -1,6 +1 @@
|
||||
export {
|
||||
apiService,
|
||||
authAPI,
|
||||
companiesAPI,
|
||||
invoicesAPI,
|
||||
} from "./api";
|
||||
export { apiService, authAPI, companiesAPI, invoicesAPI } from "./api";
|
||||
|
||||
Reference in New Issue
Block a user