fix(bank/nui): fixed warnings

This commit is contained in:
Christopher committed 2021-01-07 21:43:07 +01:00
1 parent 310d58d3d1
commit ee283c8b1c
5 files changed
+7 -20

No files matched your search

@@ -1,6 +1,6 @@
import React from 'react';
import { useTranslation } from 'react-i18next';
import { makeStyles, Paper, Typography, Button } from '@material-ui/core';
import { Button } from '@material-ui/core';
import { useTransactions } from '../../hooks/useTransactions';
import useStyles from './account.styles';
@@ -33,7 +33,7 @@ export const AccountTransactions = (): any => {
</div>
<div>
<p className={TransactionTypes[transaction.type]}>
{transaction.type == 'Withdraw' ? '-' : '+'}
{transaction.type === 'Withdraw' ? '-' : '+'}
{transaction.amount}
</p>
</div>