Deal with initially having no work items

This commit is contained in:
John Lyon-Smith
2018-04-26 15:48:56 -07:00
parent 0a5677b59b
commit 5e5daa2e78
7 changed files with 1504 additions and 1464 deletions

View File

@@ -79,18 +79,11 @@ export class WorkItem extends React.Component {
constructor(props) {
super(props)
region = {
latitude: 43.653908,
longitude: -79.384293,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}
this.state = {
binder: new FormBinder({}, WorkItem.bindings),
messageModal: null,
waitModal: null,
region,
region: config.initialRegion,
}
const { search } = this.props.location