diff --git a/src/components/ManaCalculator/index.tsx b/src/components/ManaCalculator/index.tsx index 84d0635e680..f2ff392ab54 100644 --- a/src/components/ManaCalculator/index.tsx +++ b/src/components/ManaCalculator/index.tsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import Select from 'react-select'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +import './styles.css'; import { calculateManaRewards, calculatePassiveRewards, @@ -38,60 +39,50 @@ function ValidatorCard({ id: number; }) { return ( -
-
-
-
Validator {id + 1}
- -
+
+
+
Validator {id + 1}
+
-
-
- -
-
- -
+
+ + handleStakeChange(Number(e.target.value), id)} + >
-
-
- -
-
- -
+
+ + + handleDelegatedStakeChange(Number(e.target.value), id) + } + > +
+
+ + handlePFChange(Number(e.target.value), id)} + > +
+
+ + handleFCChange(Number(e.target.value), id)} + >
); @@ -393,13 +384,15 @@ export default function ManaCalculator() { return ( -
- - handleEpochChange(Number(e.target.value))} - > +
+
+ + handleEpochChange(Number(e.target.value))} + > +
@@ -417,6 +410,8 @@ export default function ManaCalculator() { />
))} +
+