File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/containers/SwapInitiation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ class SwapInitiation extends Component {
3636 ? < ExpirationDetails />
3737 : < InitiatorExpirationInfo /> }
3838 { ! errors . initiation && ! this . props . isPartyB && < Button wide primary loadingMessage = { this . props . loadingMessage } onClick = { this . props . initiateSwap } > Initiate Swap</ Button > }
39- { ! errors . initiation && this . props . isPartyB && < Button wide primary loadingMessage = { this . props . loadingMessage } onClick = { this . props . confirmSwap } > Confirm Terms</ Button > } < br />
40- { errors . initiation && < div className = 'SwapInitiation_errorMessage' > { errors . initiation } </ div > }
39+ { ! errors . initiation && this . props . isPartyB && < Button wide primary loadingMessage = { this . props . loadingMessage } onClick = { this . props . confirmSwap } > Confirm Terms</ Button > }
40+ { errors . initiation && < Button primary disabled > { errors . initiation } </ Button > } < br />
4141 { /* TODO: Do actual resetting of app state instead of refresh. */ }
4242 < Button wide link onClick = { ( ) => window . location . replace ( APP_BASE_URL ) } > { this . props . isPartyB ? 'Abandon Swap' : 'Cancel' } </ Button >
4343 </ div >
You can’t perform that action at this time.
0 commit comments