fix: comfyui cfg setting

This commit is contained in:
Timothy Jaeryang Baek committed 2024-12-09 23:22:47 -08:00
1 parent 9ddb16345f
commit faa054d4b4
2 files changed
+10 -5

No files matched your search

@@ -105,10 +105,15 @@
};
const updateConfigHandler = async () => {
const res = await updateConfig(localStorage.token, config).catch((error) => {
toast.error(error);
return null;
});
const res = await updateConfig(localStorage.token, config)
.catch((error) => {
toast.error(error);
return null;
})
.catch((error) => {
toast.error(error);
return null;
});
if (res) {
config = res;