Skip to content

Commit

Permalink
fix(details): remove double spacings
Browse files Browse the repository at this point in the history
  • Loading branch information
JalilArfaoui committed Mar 7, 2019
1 parent b07ee2e commit a373ba4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"object-curly-spacing": 0,
"no-underscore-dangle": 0,
"no-else-return": 0,
"newline-per-chained-call": 0
"newline-per-chained-call": 0,
"react/jsx-one-expression-per-line": 0
},
"plugins": [
"react"
Expand Down
6 changes: 1 addition & 5 deletions src/components/organisms/Notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ export default class Notice extends PureComponent {
<NoticeType type={type} />
<div>
<NoticeTitle>{strip(message)}</NoticeTitle>
<Contributor>
Par :
&nbsp;
{contributor}
</Contributor>
<Contributor>Par : {contributor}</Contributor>
</div>
<OpenButton />
</Fragment>
Expand Down
17 changes: 3 additions & 14 deletions src/components/organisms/NoticeDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,13 @@ class NoticeDetails extends PureComponent {
<NoticeDetailsContainer>
<NoticeDetailsContent>
<NoticeDetailsMeta>
<Date>
Le
&nbsp;
{date}
</Date>
<Contributor>
{contributor}
&nbsp;
:
</Contributor>
<Date>Le {date}</Date>
<Contributor>{contributor} :</Contributor>
<NoticeType type={type} />
</NoticeDetailsMeta>
<Message>{message}</Message>
<Source>
<Anchor />
En savoir plus :
&nbsp;
<SourceURL>{source}</SourceURL>
<Anchor /> En savoir plus : <SourceURL>{source}</SourceURL>
</Source>

<Feedbacks>
Expand Down

0 comments on commit a373ba4

Please sign in to comment.