Skip to content

Commit

Permalink
fix(contribution): show contributor name on preview screen
Browse files Browse the repository at this point in the history
  • Loading branch information
lutangar committed Sep 12, 2019
1 parent 9311d74 commit 9c74e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/organisms/NoticePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface NoticePreviewProps {
class NoticePreview extends PureComponent<NoticePreviewProps> {
render() {
const {
contribution: { intention, message, created, email },
contribution: { intention, message, created, contributor },
children
} = this.props;

Expand All @@ -24,7 +24,7 @@ class NoticePreview extends PureComponent<NoticePreviewProps> {
<DetailsContent>
<DetailsMeta>
<Date>Le {format(created, 'DD/MM/YYYY')}</Date>
<Contributor>{email} :</Contributor>
<Contributor>{contributor.name} :</Contributor>
<IntentionIcon active intention={intention} />
</DetailsMeta>

Expand Down

0 comments on commit 9c74e99

Please sign in to comment.