File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
positronNewFolderFlow/components/steps Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,7 @@ export const ConvertToCodeModalDialog = (props: ConvertToCodeDialogProps) => {
143
143
"Convert to Code"
144
144
) ) ( ) }
145
145
width = { 400 }
146
- onAccept = { async ( ) => {
147
- props . renderer . dispose ( ) ;
148
- } }
146
+ onAccept = { ( ) => props . renderer . dispose ( ) }
149
147
onCancel = { ( ) => props . renderer . dispose ( ) }
150
148
>
151
149
< VerticalStack >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const DropdownEntry = (props: DropdownEntryProps) => {
35
35
< div className = 'dropdown-entry-subtitle' >
36
36
{ props . subtitle }
37
37
</ div >
38
- { props . group ? < div className = 'dropdown-entry-group' > { props . group } </ div > : null }
38
+ { props . group && < div className = 'dropdown-entry-group' > { props . group } </ div > }
39
39
</ div >
40
40
) ;
41
41
} ;
You can’t perform that action at this time.
0 commit comments