-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: display error for transactions with invalid callbackUrl
- Loading branch information
Andy Haynes
committed
Feb 28, 2022
1 parent
f8417ca
commit 9e073ec
Showing
8 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
packages/frontend/src/components/sign/SignTransferInvalid.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import React from 'react'; | ||
import { Translate } from 'react-localize-redux'; | ||
import styled from 'styled-components'; | ||
|
||
import Container from '../common/styled/Container.css'; | ||
|
||
const CustomContainer = styled(Container)` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
color: #25282a; | ||
text-align: center; | ||
.title { | ||
margin-top: 23px; | ||
h2 { | ||
font-weight: 900; | ||
font-size: 22px; | ||
color: #24272a; | ||
} | ||
} | ||
&& .text { | ||
color: #72727a; | ||
margin-top: 24px; | ||
} | ||
`; | ||
|
||
const SignTransferInvalid = () => ( | ||
<CustomContainer className="small-centered"> | ||
<div className="title"> | ||
<h2> | ||
<Translate id="sign.invalidTransaction.title" /> | ||
</h2> | ||
</div> | ||
<div className="text"> | ||
<Translate id="sign.invalidTransaction.body" /> | ||
</div> | ||
</CustomContainer> | ||
); | ||
|
||
export default SignTransferInvalid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters