Remove logging

This commit is contained in:
Tom Moor
2017-06-28 21:56:29 -07:00
parent 0b79706d23
commit 31f3d72f01

View File

@ -88,10 +88,10 @@ type Props = {
// TODO: How to set loading bar on layout? // TODO: How to set loading bar on layout?
} }
onChange(text) { onChange = text => {
if (!this.document) return; if (!this.document) return;
this.document.updateData({ text }); this.document.updateData({ text });
} };
onCancel = () => { onCancel = () => {
this.props.history.goBack(); this.props.history.goBack();
@ -103,10 +103,6 @@ type Props = {
const isFetching = !this.document && get(this.document, 'isFetching'); const isFetching = !this.document && get(this.document, 'isFetching');
const titleText = get(this.document, 'title', 'Loading'); const titleText = get(this.document, 'title', 'Loading');
console.log('isEditing', isEditing);
console.log('isFetching', isFetching);
console.log('document', this.document);
return ( return (
<Container column auto> <Container column auto>
{titleText && <PageTitle title={titleText} />} {titleText && <PageTitle title={titleText} />}