From f048c4ab0cc927a431d99435cdb5a9c09f915d48 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 14 Jul 2018 22:35:40 -0700 Subject: [PATCH] Clean up ClickablePadding Remove log --- app/components/ClickablePadding.js | 13 +------------ app/scenes/Document/components/Editor.js | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/components/ClickablePadding.js b/app/components/ClickablePadding.js index 14572c4d3..dde8c6795 100644 --- a/app/components/ClickablePadding.js +++ b/app/components/ClickablePadding.js @@ -1,19 +1,8 @@ // @flow -import React from 'react'; import styled from 'styled-components'; -type Props = { - onClick?: ?Function, - grow?: boolean, -}; - -const ClickablePadding = (props: Props) => { - return ; -}; - -const Container = styled.div` +const ClickablePadding = styled.div` min-height: 50vh; - padding-top: 50px; cursor: ${({ onClick }) => (onClick ? 'text' : 'default')}; ${({ grow }) => grow && `flex-grow: 1;`}; `; diff --git a/app/scenes/Document/components/Editor.js b/app/scenes/Document/components/Editor.js index 44c3a5de6..c45fc6040 100644 --- a/app/scenes/Document/components/Editor.js +++ b/app/scenes/Document/components/Editor.js @@ -46,7 +46,6 @@ class Editor extends React.Component { }; focusAtEnd = () => { - console.log(this.editor); if (this.editor) this.editor.focusAtEnd(); };