From 89fd52335206c7b7e037a4e71e8aa55321de91e1 Mon Sep 17 00:00:00 2001 From: Hossein-Asadi Date: Wed, 15 Jan 2025 02:00:22 +0330 Subject: [PATCH] fix: Fixes bugs --- frontend/src/css/Theme.css | 2 +- frontend/src/pages/my-account/MyAccount.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/css/Theme.css b/frontend/src/css/Theme.css index 0d73f72..299c61b 100644 --- a/frontend/src/css/Theme.css +++ b/frontend/src/css/Theme.css @@ -19,7 +19,7 @@ --background-color-lighter-40: #354fc8; --background-color-lighter-40-glassy: rgba(53, 79, 200, 0.4); --background-color-lighter-60: #7688e0; - --background-color-lighter-80: #d4daf4; + --background-color-lighter-80: #b6c2f7; --background-color-lighter-90: #fdfdfe; /*text*/ diff --git a/frontend/src/pages/my-account/MyAccount.jsx b/frontend/src/pages/my-account/MyAccount.jsx index 7ac1c5d..e387232 100644 --- a/frontend/src/pages/my-account/MyAccount.jsx +++ b/frontend/src/pages/my-account/MyAccount.jsx @@ -145,7 +145,7 @@ const MyAccount = () => { return ( - Total: {total} T 0 T + Total: {total !== 0 && {total} T} 0 T ); };