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

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>
), ),