Hydrate task PR merge methods

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo-H
2026-05-31 02:43:16 -07:00
committed by Neil
co-authored by Orca
parent e8b859118f
commit 1c1677eaad
3 changed files with 89 additions and 10 deletions
@@ -136,8 +136,7 @@ export default function HostedReviewActions({
})
}, [githubPR, isGitLab, review])
const mergeMethods = useMemo(
() =>
resolveGitHubPRMergeMethods(isGitLab ? null : (githubPR?.mergeMethodSettings ?? null)),
() => resolveGitHubPRMergeMethods(isGitLab ? null : (githubPR?.mergeMethodSettings ?? null)),
[githubPR?.mergeMethodSettings, isGitLab]
)
const isUpdatingReviewState = stateUpdating !== null