chore(lint): clean up frontend and Rust lint issues

This commit is contained in:
xintaofei
2026-04-23 15:56:41 +08:00
parent 1dd40d0baf
commit 022172a9ea
69 changed files with 1138 additions and 1248 deletions

View File

@@ -73,10 +73,7 @@ export const ConversationContextBar = memo(function ConversationContextBar({
setTabFolder(ownTab.id, target.id, target.path)
toast.success(t("toasts.folderChanged", { name: target.name }))
} catch (err) {
console.error(
"[ConversationContextBar] switch folder failed:",
err
)
console.error("[ConversationContextBar] switch folder failed:", err)
toast.error(t("toasts.openFolderFailed"))
}
}}

View File

@@ -96,9 +96,7 @@ export function Sidebar() {
size="icon"
className="h-6 w-6 shrink-0 text-muted-foreground"
onClick={handleToggleExpandAll}
title={
allExpanded ? t("collapseAllGroups") : t("expandAllGroups")
}
title={allExpanded ? t("collapseAllGroups") : t("expandAllGroups")}
>
{allExpanded ? (
<ChevronsDownUp className="h-3.5 w-3.5" />