fix: transaction button styling bug

This commit is contained in:
Mason 2022-12-09 14:37:11 -06:00
parent 1e4c0b9d97
commit e8f4f780bf
3 changed files with 4 additions and 12 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -125,15 +125,7 @@ const TransactionButton = ({ configuration }) => {
</button>
{response?.status &&
<div className="transaction__response"
// style={{
// position: "absolute",
// top: "72px", left: "0", right: "0",
// margin: "auto",
// width: "100%",
// textAlign: "center"
// }}
>
<>
{response.status === "success" ?
<a href={response.url} target="_blank" rel="noreferrer" style={{color: "green"}}>
{"Transaction successful!"}
@ -143,7 +135,7 @@ const TransactionButton = ({ configuration }) => {
{`Transaction failed: ${response.data}`}
</p>
}
</div>
</>
}
</>
)