mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
cleanup(bank): general cleanup for bank
This commit is contained in:
1 parent
319e5efac5
commit
eb506f0ab0
13 files changed
+282
-385
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import { Button } from "../../../../ui/components/Button";
|
||||
import { makeStyles, Paper, Typography } from "@material-ui/core";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import React from 'react';
|
||||
import { Button } from '../../../../ui/components/Button';
|
||||
import { makeStyles, Paper, Typography } from '@material-ui/core';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { BankCard } from './BankCard';
|
||||
import { AccountTransactions } from './AccountTransactions';
|
||||
import { useCredentials } from '../../hooks/useCredentials';
|
||||
@@ -9,13 +9,13 @@ import { useCredentials } from '../../hooks/useCredentials';
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
width: '100%',
|
||||
fontFamily: 'Bahnschrift Regular'
|
||||
fontFamily: 'Bahnschrift Regular',
|
||||
},
|
||||
title: {
|
||||
fontSize: '30px',
|
||||
marginLeft: '29px'
|
||||
}
|
||||
}))
|
||||
marginLeft: '29px',
|
||||
},
|
||||
}));
|
||||
|
||||
export const BankAccount = () => {
|
||||
const classes = useStyles();
|
||||
@@ -24,10 +24,14 @@ export const BankAccount = () => {
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<div>
|
||||
<h1 className={classes.title} >{t("APPS_BANK_ACCOUNT_TITLE")}</h1>
|
||||
<h1 className={classes.title}>{t('APPS_BANK_ACCOUNT_TITLE')}</h1>
|
||||
</div>
|
||||
<BankCard name={credentials.name} account="Checking" balance={credentials.balance} />
|
||||
<BankCard
|
||||
name={credentials.name}
|
||||
account='Checking'
|
||||
balance={credentials.balance}
|
||||
/>
|
||||
<AccountTransactions />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user