diff --git a/nym-wallet/src/components/AppBar.tsx b/nym-wallet/src/components/AppBar.tsx index f8c24cf3aa..282f37cc3c 100644 --- a/nym-wallet/src/components/AppBar.tsx +++ b/nym-wallet/src/components/AppBar.tsx @@ -36,21 +36,3 @@ export const AppBar = () => { ) } - -// const AppBarItem: React.FC<{ -// primaryText: string -// secondaryText?: string -// Action?: React.ReactNode -// }> = ({ primaryText, secondaryText = '', Action }) => { -// return ( -// -// -// {primaryText}: -// {' '} -// -// {secondaryText} -// -// {Action} -// -// ) -// } diff --git a/nym-wallet/src/pages/balance/vesting.tsx b/nym-wallet/src/pages/balance/vesting.tsx index a6810ba44f..b02358beb6 100644 --- a/nym-wallet/src/pages/balance/vesting.tsx +++ b/nym-wallet/src/pages/balance/vesting.tsx @@ -100,7 +100,7 @@ const VestingSchedule = () => { const { userBalance, currency } = useContext(ClientContext) const [vestedPercentage, setVestedPercentage] = useState(0) - const calculatPercentage = () => { + const calculatePercentage = () => { const { tokenAllocation, originalVesting } = userBalance if (tokenAllocation?.vesting && tokenAllocation.vested && tokenAllocation.vested !== '0' && originalVesting) { const percentage = Math.round((+tokenAllocation.vested / +originalVesting?.amount.amount) * 100) @@ -111,8 +111,8 @@ const VestingSchedule = () => { } useEffect(() => { - calculatPercentage() - }, [userBalance.tokenAllocation, calculatPercentage]) + calculatePercentage() + }, [userBalance.tokenAllocation, calculatePercentage]) return (