File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
src/packages/frontend/jupyter Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -792,21 +792,19 @@ export const CodeMirrorEditor: React.FC<CodeMirrorEditorProps> = ({
792
792
} }
793
793
onClick = { focus_cm }
794
794
>
795
- < div style = { { whiteSpace : "nowrap" , margin : "6px 5px 0 20px " } } >
795
+ < div style = { { whiteSpace : "nowrap" , margin : "6px 5px 0 10px " } } >
796
796
Enter code{ setShowAICellGen == null ? "..." : " or " }
797
797
</ div >
798
- { setShowAICellGen != null ? (
799
- < a
800
- style = { {
801
- marginTop : "6px" ,
802
- opacity : 0.7 ,
803
- fontSize : "inherit" ,
804
- } }
805
- onClick = { ( ) => setShowAICellGen ( "replace" ) }
806
- >
807
- generate using AI...
808
- </ a >
809
- ) : undefined }
798
+ < a
799
+ style = { {
800
+ marginTop : "6px" ,
801
+ opacity : 0.7 ,
802
+ fontSize : "inherit" ,
803
+ } }
804
+ onClick = { ( ) => setShowAICellGen ( "replace" ) }
805
+ >
806
+ generate using AI...
807
+ </ a >
810
808
</ div >
811
809
</ div >
812
810
) ;
You can’t perform that action at this time.
0 commit comments