Fix linter errors

This commit is contained in:
Alex Gleason committed 2025-10-15 12:01:32 -05:00
1 parent 1c4b1e6263
commit 8c125db804
10 files changed
+79 -72

No files matched your search

+1 -4
View File
@@ -106,13 +106,12 @@ export function PullRequestForm({ projectId, currentBranch, remoteUrl }: PullReq
} else {
setError('Unsupported remote URL format');
}
} catch (err) {
} catch {
setError('Failed to parse remote URL');
}
}, []);
const loadRemoteBranches = useCallback(async () => {
setIsLoadingBranches(true);
try {
const branches = await git.listBranches({
dir: projectPath,
@@ -129,8 +128,6 @@ export function PullRequestForm({ projectId, currentBranch, remoteUrl }: PullReq
}
} catch {
setRemoteBranches(['main', 'master', 'develop']);
} finally {
setIsLoadingBranches(false);
}
}, [git, projectPath]);