chore: update

This commit is contained in:
huzibaca 2024-11-30 07:04:09 +08:00
parent 29ccabc054
commit 4f797eb7b8
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302
2 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,7 @@ pub async fn update_profile(uid: String, option: Option<PrfOption>) -> Result<()
handle::Handle::refresh_clash();
}
Err(err) => {
handle::Handle::notice_message("set_config::error", format!("{err}"));
log::error!(target: "app", "{err}");
}
}

View File

@ -77,6 +77,9 @@ const Layout = () => {
navigate("/profile");
Notice.error(msg);
break;
case "set_config::error":
Notice.error(msg);
break;
default:
break;
}