style: apply prettier and rustfmt

No behavior changes. Brings three files back in line with the project
formatters (CI runs `pnpm format:check` and `cargo fmt --check`).
This commit is contained in:
Jason
2026-04-20 12:19:13 +08:00
parent 08727528aa
commit 111ddf8d73
2 changed files with 2 additions and 6 deletions

View File

@@ -553,9 +553,7 @@ fn normalize_providers_dict_entry(
}
/// Collect provider entries living under the v12+ `providers:` dict.
fn read_providers_dict_entries(
config: &serde_yaml::Value,
) -> Vec<(String, serde_json::Value)> {
fn read_providers_dict_entries(config: &serde_yaml::Value) -> Vec<(String, serde_json::Value)> {
let Some(mapping) = config.get("providers").and_then(|v| v.as_mapping()) else {
return Vec::new();
};

View File

@@ -63,9 +63,7 @@ const MemoryTabPane: React.FC<MemoryTabPaneProps> = ({
<div
className={cn(
"flex items-center justify-between px-3 py-2 rounded-md border",
enabled
? "bg-muted/30"
: "bg-amber-500/10 border-amber-500/30",
enabled ? "bg-muted/30" : "bg-amber-500/10 border-amber-500/30",
)}
>
<div className="flex items-center gap-2">