From 5fffd4d2f59857d1b2cbda42ceaca3e4d1d3cfca Mon Sep 17 00:00:00 2001 From: mohamad Date: Sat, 7 Jun 2025 17:02:29 +0200 Subject: [PATCH] Refactor MainLayout.vue to improve component rendering logic --- fe/src/layouts/MainLayout.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/fe/src/layouts/MainLayout.vue b/fe/src/layouts/MainLayout.vue index c83bca0..8e89fcc 100644 --- a/fe/src/layouts/MainLayout.vue +++ b/fe/src/layouts/MainLayout.vue @@ -18,12 +18,12 @@
- - - - - - + + + + + +
@@ -76,7 +76,6 @@ const initializeApp = async () => { console.error('Failed to initialize app:', error); // Don't automatically logout - let the API interceptor handle token refresh // The response interceptor will handle 401s and refresh tokens automatically - console.log('Token may need refresh, will be handled by API interceptor'); } } };