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

View File

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