+
GMX Account Fees
+
+ {/* Input Section */}
+
+
+
+ setAccountName(e.target.value)}
+ disabled={loading}
+ />
+
+
+
+
+ {/* Error Display */}
+ {error && (
+
+ )}
+
+ {/* Results Section */}
+ {data && (
+
+ {/* Total Summary */}
+
+
+
Total Claimable
+
${totalClaimable.toFixed(2)}
+
Combined funding fees and UI fees
+
+
+
+ {/* Funding Fees Section */}
+ {data.claimableFundingFees && (data.claimableFundingFees.totalUsdc ?? 0) > 0 && (
+
+ )}
+
+ {/* UI Fees Section */}
+ {data.claimableUiFees && (data.claimableUiFees.totalUsdc ?? 0) > 0 && (
+
+ )}
+
+ {/* Rebate Stats Section */}
+ {data.rebateStats && ((data.rebateStats.totalRebateUsdc ?? 0) > 0 || (data.rebateStats.discountUsdc ?? 0) > 0) && (
+
+ )}
+
+ )}
+
+ )
+}
+
+export default AccountFee
\ No newline at end of file
diff --git a/src/Managing.WebApp/src/pages/settingsPage/settings.tsx b/src/Managing.WebApp/src/pages/settingsPage/settings.tsx
index bf80132..d460f88 100644
--- a/src/Managing.WebApp/src/pages/settingsPage/settings.tsx
+++ b/src/Managing.WebApp/src/pages/settingsPage/settings.tsx
@@ -8,6 +8,7 @@ import MoneyManagementSettings from './moneymanagement/moneyManagement'
import Theme from './theme'
import DefaultConfig from './defaultConfig/defaultConfig'
import UserInfoSettings from './UserInfoSettings'
+import AccountFee from './accountFee/accountFee'
type TabsType = {
label: string
@@ -33,18 +34,23 @@ const tabs: TabsType = [
label: 'Account Settings',
},
{
- Component: Theme,
+ Component: AccountFee,
index: 4,
+ label: 'Account Fee',
+ },
+ {
+ Component: Theme,
+ index: 5,
label: 'Theme',
},
{
Component: DefaultConfig,
- index: 5,
+ index: 6,
label: 'Quick Start Config',
},
{
Component: HealthChecks,
- index: 6,
+ index: 7,
label: 'Health Checks',
},
]