diff --git a/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx b/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx index c74e1d2192..03ec15b477 100644 --- a/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx +++ b/src/frontend/src/pages/Index/Settings/PluginSettingsGroup.tsx @@ -25,14 +25,12 @@ function PluginSettingGroupItem({ }) { // Hide the accordion item if there are no settings for this plugin const [count, setCount] = useState(0); - const [wasLoaded, setWasLoaded] = useState(false); const [doGet, setDoGet] = useState(true); // Callback once the plugin settings have been loaded const onLoaded = useCallback( (settings: SettingsStateProps) => { setCount(settings.getSettingLength()); - setWasLoaded(true); setDoGet(false); }, [pluginKey] @@ -42,7 +40,7 @@ function PluginSettingGroupItem({