diff --git a/components/settings/settings-item.js b/components/settings/settings-item.js index 933a329..45d9bb0 100644 --- a/components/settings/settings-item.js +++ b/components/settings/settings-item.js @@ -17,7 +17,7 @@ export default function SettingsItem({ invoke("change_configuration_option", { option_name: settingsConfigString, value: value + "", - }).then(setSettingsItemStatus(value += "")); + }).then(setSettingsItemStatus((value += ""))); }; useEffect(() => { @@ -31,7 +31,7 @@ export default function SettingsItem({ }, []); return settingsItemStatus != "" ? ( -
{settingsDescription}
@@ -45,5 +45,7 @@ export default function SettingsItem({ )}