Skip to content
Snippets Groups Projects
Commit 9d91c0a3 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

fix(imports): fix imports

parent f9c9b4b0
No related branches found
No related tags found
1 merge request!43Sprint #19
......@@ -2,8 +2,6 @@ import React, { Fragment } from 'react'
import { th } from '@pubsweet/ui-toolkit'
import styled, { css } from 'styled-components'
import { FileItem } from 'pubsweet-components-faraday/src/components/Files'
const Files = ({
files: {
manuscripts = [],
......@@ -19,9 +17,6 @@ const Files = ({
<span>Main manuscript</span>
<div />
</Header>
{manuscripts.map(file => (
<FileItem compact id={file.id} key={file.id} {...file} />
))}
</Fragment>
)}
{!!supplementary.length && (
......@@ -30,9 +25,6 @@ const Files = ({
<span>Supplemetary files</span>
<div />
</Header>
{supplementary.map(file => (
<FileItem compact id={file.id} key={file.id} {...file} />
))}
</Fragment>
)}
{!!coverLetter.length && (
......@@ -41,9 +33,6 @@ const Files = ({
<span>Cover letter</span>
<div />
</Header>
{coverLetter.map(file => (
<FileItem compact id={file.id} key={file.id} {...file} />
))}
</Fragment>
)}
</Root>
......
......@@ -9,7 +9,6 @@ import { reduxForm, change as changeForm, initialize } from 'redux-form'
import { ReviewersSelect } from './'
import { inviteReviewer } from '../../redux/reviewers'
import { ValidatedTextField } from '../AuthorList/FormItems'
const ReviewerForm = ({
users,
......@@ -23,12 +22,8 @@ const ReviewerForm = ({
<Root>
<Row>
<ReviewersSelect onSelect={selectReviewer} values={filteredUsers()} />
<ValidatedTextField isRequired label="Last name*" name="lastName" />
</Row>
<Row>
<ValidatedTextField label="First name" name="firstName" />
<ValidatedTextField label="Affiliation" name="affiliation" />
</Row>
{reviewerError && (
<CenterRow>
<Err>{reviewerError}</Err>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment