From 71840f249702a2145e5a03eee164fa0c2889ca17 Mon Sep 17 00:00:00 2001 From: ilham Date: Fri, 31 Dec 2021 00:25:04 +0700 Subject: [PATCH] add: profit in profile --- src/pages/Profile/Profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index c9c4144..d073070 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -224,7 +224,7 @@ export const Profile = observer(() => { {new Intl.NumberFormat("id-ID", { style: "currency", currency: "IDR", - }).format(store.authentication.profileData?.profit || 0)} + }).format(store.authentication.profileData?.wallet || 0)} @@ -244,7 +244,7 @@ export const Profile = observer(() => { {new Intl.NumberFormat("id-ID", { style: "currency", currency: "IDR", - }).format(store.authentication.profileData?.wallet || 0)} + }).format(store.authentication.profileData?.profit || 0)}