Skip to content

Commit

Permalink
Deposit button not working if details open via history + convert bico…
Browse files Browse the repository at this point in the history
…nomy logo to link
  • Loading branch information
tomarsachin2271 committed Aug 9, 2021
1 parent 6ef8c0d commit 120605f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ const useStyles = makeStyles((theme) => ({
justifyContent: "center",
alignItems: "bottom"
},
poweredByLink: {
display: "flex"
},
poweredByText: {
display: "flex",
flexDirection: "column-reverse",
Expand Down Expand Up @@ -1451,7 +1454,10 @@ function App() {
<section className={classes.mainContainer}>

<div className={classes.centerCardHeader}>
<div className={classes.poweredByText}>Powered By</div> <img src={BiconomyLogo} href="https://biconomy.io" className={classes.poweredByLogo} />
<div className={classes.poweredByText}>Powered By</div>
<a href="https://biconomy.io" target="_blank" className={classes.poweredByLink}>
<img src={BiconomyLogo} className={classes.poweredByLogo} />
</a>
</div>
<Card className={classes.root} variant="outlined" style={{borderRadius: "30px"}}>
<CardContent>
Expand Down
2 changes: 2 additions & 0 deletions src/components/user/UserDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ export default function UserDetails(props) {
let recievedAmount = transaction.amountReceived;
let lpFee = transaction.lpFee;
let transferHash = transaction.transferHash;
let depositHash = transaction.depositHash;
let startTime = transaction.startTimestamp * 1000; // Converting in ms
let endTime = transaction.endTimestamp * 1000; // Converting in ms
dispatch(updateTransferState({
Expand All @@ -417,6 +418,7 @@ export default function UserDetails(props) {
lpFee,
toChainId,
tokenAmount,
depositHash,
tokenSymbol,
recievedAmount,
transferHash,
Expand Down

0 comments on commit 120605f

Please sign in to comment.