mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 06:28:51 +00:00
feat(bank/nui): Showing first 3 transactions on account page
This commit is contained in:
1 parent
544a46ca0b
commit
c5cdef7e06
1 file changed
+3
-3
@@ -15,7 +15,6 @@ const useStyles = makeStyles((theme) => ({
|
||||
margin: "auto",
|
||||
},
|
||||
title: {
|
||||
color: "#fff",
|
||||
padding: 7,
|
||||
borderRadius: "10px",
|
||||
display: "flex",
|
||||
@@ -26,9 +25,10 @@ const useStyles = makeStyles((theme) => ({
|
||||
seeAll: {
|
||||
fontFamily: "Bahnschrift Regular",
|
||||
fontWeight: "bold",
|
||||
height: 'auto'
|
||||
},
|
||||
transcationDiv: {
|
||||
marginTop: '-30px'
|
||||
marginTop: '-30px',
|
||||
},
|
||||
transactions: {
|
||||
marginLeft: "32px",
|
||||
@@ -83,7 +83,7 @@ export const AccountTransactions = (): any => {
|
||||
</div>
|
||||
|
||||
<div className={classes.transcationDiv}>
|
||||
{transactionList.map((transaction: any) => (
|
||||
{transactionList.slice(0, 3).map((transaction: any) => (
|
||||
<div className={classes.transactions}>
|
||||
<div>
|
||||
<h1 className={classes.tranSource}>{transaction.source}</h1>
|
||||
|
||||
Reference in new issue
Block a user