Update NotebookReadOnlyRenderer.tsx (#127)

This commit is contained in:
Tanuj Mittal 2020-08-04 10:24:25 -07:00 committed by GitHub
parent 2904a1a60d
commit e6acf6686f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@ class NotebookReadOnlyRenderer extends React.Component<NotebookRendererProps> {
editor: { editor: {
codemirror: (props: PassedEditorProps) => codemirror: (props: PassedEditorProps) =>
this.props.hideInputs ? <></> : <CodeMirrorEditor {...props} readOnly={"nocursor"} /> this.props.hideInputs ? <></> : <CodeMirrorEditor {...props} readOnly={"nocursor"} />
}, }
prompt: ({ id, contentRef }) => <></>
}} }}
</CodeCell> </CodeCell>
), ),