Remove silly support for async initial_value

This complicates the handling of configs for no good reason.
This commit is contained in:
Hornwitser committed 2024-01-06 19:49:35 +01:00
1 parent ede150d80f
commit 27af142a87
15 files changed
+93 -93

No files matched your search

@@ -49,7 +49,7 @@ export default function BaseConfigTree(props: BaseConfigTreeProps) {
async function updateConfig() {
let serializedConfig = await props.retrieveConfig();
let newConfig = new props.ConfigClass("control");
await newConfig.load(serializedConfig);
newConfig.load(serializedConfig);
setConfig(newConfig);
return newConfig;
}