fix: correct type for progress parameter in useGitLabMRFiltering
- Add GitLabMRReviewProgress to imports - Change progress type from GitLabMRReviewResult to GitLabMRReviewProgress Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5d50a87d3c
commit
cd3fb11239
+7
-2
@@ -6,7 +6,12 @@
|
||||
*/
|
||||
|
||||
import { useMemo, useState, useCallback } from 'react';
|
||||
import type { GitLabMergeRequest, GitLabMRReviewResult, GitLabNewCommitsCheck } from '../../../../shared/types';
|
||||
import type {
|
||||
GitLabMergeRequest,
|
||||
GitLabMRReviewResult,
|
||||
GitLabMRReviewProgress,
|
||||
GitLabNewCommitsCheck
|
||||
} from '../../../../shared/types';
|
||||
|
||||
export type GitLabMRStatusFilter =
|
||||
| 'all'
|
||||
@@ -89,7 +94,7 @@ export function useGitLabMRFiltering(
|
||||
mrs: GitLabMergeRequest[],
|
||||
getReviewStateForMR: (mrIid: number) => {
|
||||
isReviewing: boolean;
|
||||
progress: GitLabMRReviewResult | null;
|
||||
progress: GitLabMRReviewProgress | null;
|
||||
result: GitLabMRReviewResult | null;
|
||||
error: string | null;
|
||||
newCommitsCheck: GitLabNewCommitsCheck | null;
|
||||
|
||||
Reference in New Issue
Block a user