diff --git a/src/renderer/src/components/right-sidebar/ChecksPanel.tsx b/src/renderer/src/components/right-sidebar/ChecksPanel.tsx index 016976c41cd..2d6f58407cd 100644 --- a/src/renderer/src/components/right-sidebar/ChecksPanel.tsx +++ b/src/renderer/src/components/right-sidebar/ChecksPanel.tsx @@ -70,13 +70,8 @@ import type { import { getHostedReviewCacheKey, refreshHostedReviewCard } from '@/store/slices/hosted-review' import { toast } from 'sonner' import { useConfirmationDialog } from '@/components/confirmation-dialog' -import { - classifyHostedReview, - type HostedReviewClassificationOptions -} from '../../../../shared/hosted-review-queue' -import { hostedReviewSummaryFromGitHubPRInfo } from '../../../../shared/hosted-review-github' + import { type ChecksPanelReview, gitHubPRToChecksPanelReview } from './checks-panel-review' -import { hostedReviewSummaryFromGitLabInfo } from '../../../../shared/hosted-review-gitlab' import { checksPanelAsyncResultKey, checksPanelHostedReviewAsyncResultKey, @@ -165,7 +160,11 @@ export function ChecksPanelReviewHeader({ )} {(canCreate || canPushCreate) && ( @@ -2480,8 +2455,16 @@ export default function ChecksPanel(): React.JSX.Element { }} > {canPushCreate - ? translate("auto.components.right.sidebar.ChecksPanel.98f4c37b33", "Push & Create {{value0}}", { value0: emptyReviewShortLabel }) - : translate("auto.components.right.sidebar.ChecksPanel.889cdfba04", "Create {{value0}}", { value0: emptyReviewShortLabel })} + ? translate( + 'auto.components.right.sidebar.ChecksPanel.98f4c37b33', + 'Push & Create {{value0}}', + { value0: emptyReviewShortLabel } + ) + : translate( + 'auto.components.right.sidebar.ChecksPanel.889cdfba04', + 'Create {{value0}}', + { value0: emptyReviewShortLabel } + )} )} )} @@ -2540,7 +2525,7 @@ export default function ChecksPanel(): React.JSX.Element { />