diff --git a/apps/renderer/src/modules/power/my-wallet-section/index.tsx b/apps/renderer/src/modules/power/my-wallet-section/index.tsx index d7b43a681b..852bf18f72 100644 --- a/apps/renderer/src/modules/power/my-wallet-section/index.tsx +++ b/apps/renderer/src/modules/power/my-wallet-section/index.tsx @@ -61,7 +61,7 @@ export const MyWalletSection = ({ className }: { className?: string }) => { return (
- + { {serverConfigs?.DAILY_POWER_PERCENTAGES.map((percentage, index) => { const level = serverConfigs?.DAILY_POWER_PERCENTAGES.length - index - 1 + const rankPercentage = serverConfigs?.LEVEL_PERCENTAGES[index] return ( - {serverConfigs?.LEVEL_PERCENTAGES[index] * 100}% + {rankPercentage ? `${rankPercentage * 100}%` : "-"} {getLevelMultiplier(level)} diff --git a/apps/renderer/src/modules/wallet/balance.tsx b/apps/renderer/src/modules/wallet/balance.tsx index ed30ee9e55..537bf058b6 100644 --- a/apps/renderer/src/modules/wallet/balance.tsx +++ b/apps/renderer/src/modules/wallet/balance.tsx @@ -24,9 +24,7 @@ export const Balance = ({ const Content = ( - {withSuffix && ( - - )} + {withSuffix && } {formatted} ) diff --git a/apps/renderer/src/modules/wallet/level.tsx b/apps/renderer/src/modules/wallet/level.tsx index a7a69427aa..ed84f7d1bc 100644 --- a/apps/renderer/src/modules/wallet/level.tsx +++ b/apps/renderer/src/modules/wallet/level.tsx @@ -20,7 +20,7 @@ export const Level = ({ ) : ( <> - Lv.{level} + Lv.{level} {getLevelMultiplier(level)}x