Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1267 from mrfelton/fix/missing-curly-brace
Browse files Browse the repository at this point in the history
style(jsx): add missing curly brace
  • Loading branch information
JimmyMow committed Jan 7, 2019
2 parents db4d0b8 + 11137bb commit 0967c59
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions app/components/Request/RequestSummary.js
Expand Up @@ -166,21 +166,23 @@ class RequestSummary extends React.Component {

<DataRow
left={<FormattedMessage {...messages.ln_invoice} />}
right=<React.Fragment>
<Text
fontSize="xs"
fontWeight="normal"
mb={2}
css={{ 'word-wrap': 'break-word' }}
className="hint--bottom-left"
data-hint={payReq}
>
<Truncate text={payReq} maxlen={40} />
</Text>
<Button type="button" size="small" onClick={() => copyToClipboard(payReq)}>
<FormattedMessage {...messages.copy_button_text} />
</Button>
</React.Fragment>
right={
<React.Fragment>
<Text
fontSize="xs"
fontWeight="normal"
mb={2}
css={{ 'word-wrap': 'break-word' }}
className="hint--bottom-left"
data-hint={payReq}
>
<Truncate text={payReq} maxlen={40} />
</Text>
<Button type="button" size="small" onClick={() => copyToClipboard(payReq)}>
<FormattedMessage {...messages.copy_button_text} />
</Button>
</React.Fragment>
}
/>

<Bar />
Expand Down

0 comments on commit 0967c59

Please sign in to comment.