diff --git a/src/app/folder/layout.tsx b/src/app/folder/layout.tsx index f59a77d..a1bbd7d 100644 --- a/src/app/folder/layout.tsx +++ b/src/app/folder/layout.tsx @@ -645,40 +645,40 @@ function FolderLayoutInner({ children }: { children: React.ReactNode }) { - - - - - - - + + + + + - -
- - - {children} - - - -
-
-
-
-
-
-
-
-
+ + +
+ + + {children} + + + +
+
+
+ + + + + +
diff --git a/src/components/layout/branch-dropdown.tsx b/src/components/layout/branch-dropdown.tsx index 628006a..2536162 100644 --- a/src/components/layout/branch-dropdown.tsx +++ b/src/components/layout/branch-dropdown.tsx @@ -698,10 +698,9 @@ export function BranchDropdown({ runGitTask( t("tasks.pullCode"), () => - withCredentialRetry( - (creds) => gitPull(folderPath, creds), - { folderPath } - ), + withCredentialRetry((creds) => gitPull(folderPath, creds), { + folderPath, + }), (result) => { if (result.conflict?.has_conflicts) { setConflictInfo(result.conflict) @@ -724,10 +723,9 @@ export function BranchDropdown({ disabled={loading} onSelect={() => runGitTask(t("tasks.fetchInfo"), () => - withCredentialRetry( - (creds) => gitFetch(folderPath, creds), - { folderPath } - ) + withCredentialRetry((creds) => gitFetch(folderPath, creds), { + folderPath, + }) ) } > diff --git a/src/components/settings/add-git-account-dialog.tsx b/src/components/settings/add-git-account-dialog.tsx index c132421..27d9769 100644 --- a/src/components/settings/add-git-account-dialog.tsx +++ b/src/components/settings/add-git-account-dialog.tsx @@ -83,7 +83,15 @@ export function AddGitAccountDialog({ onAccountAdded(account) handleOpenChange(false) - }, [serverUrl, username, password, isFirstAccount, onAccountAdded, handleOpenChange, t]) + }, [ + serverUrl, + username, + password, + isFirstAccount, + onAccountAdded, + handleOpenChange, + t, + ]) const canSubmit = serverUrl.trim().length > 0 && diff --git a/src/components/settings/add-github-account-dialog.tsx b/src/components/settings/add-github-account-dialog.tsx index 5d64eda..7716d4d 100644 --- a/src/components/settings/add-github-account-dialog.tsx +++ b/src/components/settings/add-github-account-dialog.tsx @@ -186,10 +186,7 @@ export function AddGitHubAccountDialog({ - -