File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ function SidebarSettings() {
188
188
< FormControlLabel
189
189
control = {
190
190
< Switch
191
- checked = { ( apiKey && autoCompletion ) as boolean }
191
+ checked = { ! ! ( apiKey && autoCompletion ) }
192
192
size = "small"
193
193
color = "warning"
194
194
onChange = { ( event : React . ChangeEvent < HTMLInputElement > ) => {
@@ -208,16 +208,18 @@ function SidebarSettings() {
208
208
disableInteractive
209
209
sx = { { display : "inline" } }
210
210
>
211
- < IconButton
212
- size = "small"
213
- sx = { { display : "inline" } }
214
- onClick = { ( ) => setSettingOpen ( true ) }
215
- disabled = { isGuest }
216
- >
217
- < HelpOutlineOutlinedIcon
218
- sx = { { fontSize : 14 } }
219
- > </ HelpOutlineOutlinedIcon >
220
- </ IconButton >
211
+ < Box >
212
+ < IconButton
213
+ size = "small"
214
+ sx = { { display : "inline" } }
215
+ onClick = { ( ) => setSettingOpen ( true ) }
216
+ disabled = { isGuest }
217
+ >
218
+ < HelpOutlineOutlinedIcon
219
+ sx = { { fontSize : 14 } }
220
+ > </ HelpOutlineOutlinedIcon >
221
+ </ IconButton >
222
+ </ Box >
221
223
</ Tooltip >
222
224
</ >
223
225
}
You can’t perform that action at this time.
0 commit comments