Remove logging
This commit is contained in:
@ -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} />}
|
||||||
|
Reference in New Issue
Block a user