updated format and lint scripts and applied them

This commit is contained in:
JJ Kasper
2018-06-01 16:52:12 -05:00
parent 53ac8a6793
commit 017a9993ee
58 changed files with 1711 additions and 1568 deletions

View File

@@ -1,17 +1,18 @@
import React, { Component } from 'react';
import Page from '../comps/Page';
import MngDoc from '../comps/MngDoc';
import AddDoc from '../comps/AddDoc';
import React, { Component } from 'react'
import Page from '../comps/Page'
import MngDoc from '../comps/MngDoc'
import AddDoc from '../comps/AddDoc'
class Edit extends Component {
render() {
const { found, doc } = this.props;
if(!found) return (
<Page>
<h3>Doc not found...</h3>
</Page>
);
return <MngDoc {...{doc}} />;
const { found, doc } = this.props
if (!found)
return (
<Page>
<h3>Doc not found...</h3>
</Page>
)
return <MngDoc {...{ doc }} />
}
}
export default AddDoc(Edit);
export default AddDoc(Edit)