This commit is contained in:
Thomas "ajnart" Camlong
2022-04-30 21:51:37 +02:00
parent 023f3ca9e4
commit a13dad4d42
7 changed files with 74 additions and 81 deletions

View File

@@ -20,12 +20,10 @@ function SettingsMenu(props: any) {
}, []);
return (
<Group direction="column" grow>
<TextInput
label="Search bar querry url"
defaultValue={config.searchUrl}
onChange={
(e) => {
onChange={(e) => {
setConfig({
...config,
searchUrl: e.target.value,
@@ -37,8 +35,7 @@ function SettingsMenu(props: any) {
searchUrl: e.target.value,
})
);
}
}
}}
/>
<Group direction="column">
<Switch