Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix(acceptance): resolve lint errors from #18897 (#18986)

Arvin Xu4e49a8fce3d6
diff --git a/src/features/Acceptance/Viewer/AcceptanceDecision.tsx b/src/features/Acceptance/Viewer/AcceptanceDecision.tsx
index e97efc6fd43..c72bc1a3b02 100644
--- a/src/features/Acceptance/Viewer/AcceptanceDecision.tsx
+++ b/src/features/Acceptance/Viewer/AcceptanceDecision.tsx
@@ -18,8 +18,8 @@ import DecisionBar from './DecisionBar';
import FeedbackDrawer, { type FeedbackListEntry } from './FeedbackDrawer';
import { openAcceptModal, openGroupFeedbackModal, openRejectModal } from './modals';
import { useAcceptanceBundle } from './useAcceptanceBundle';
-import { canReviewAcceptance } from './visibility';
import { formatAcceptanceCountsText, LIVE_ACCEPTANCE_STATUSES } from './verdict';
+import { canReviewAcceptance } from './visibility';
const AcceptanceDecision = () => {
const { t } = useTranslation('verify');
diff --git a/src/features/Acceptance/Workspace/batchSelection.test.ts b/src/features/Acceptance/Workspace/batchSelection.test.ts
index c515e8392c4..9ec2cf7ba51 100644
--- a/src/features/Acceptance/Workspace/batchSelection.test.ts
+++ b/src/features/Acceptance/Workspace/batchSelection.test.ts
@@ -5,8 +5,8 @@ import type { AcceptanceListItem } from '@/services/verify';
import {
ACCEPTANCE_BATCH_CHUNK,
acceptanceBatchTargets,
- chunkAcceptanceBatch,
acceptanceSelectAllState,
+ chunkAcceptanceBatch,
nextAcceptanceSelectAll,
toggleAcceptanceSelection,
visibleAcceptanceSelection,
diff --git a/src/features/Acceptance/Workspace/groupAcceptanceList.ts b/src/features/Acceptance/Workspace/groupAcceptanceList.ts
index ca4c0b983ce..bd937e08487 100644
--- a/src/features/Acceptance/Workspace/groupAcceptanceList.ts
+++ b/src/features/Acceptance/Workspace/groupAcceptanceList.ts
@@ -16,14 +16,14 @@ export const normalizeAcceptanceGroupMode = (value: unknown): AcceptanceGroupMod
export interface AcceptanceListGroup {
items: AcceptanceListItem[];
key: string;
+ /** i18n key under `verify:acceptance.workspace.groups.*` for a fixed bucket. */
+ labelKey: string | null;
/**
* Header text that comes from the data itself (a project's name). Fixed
* buckets carry a `labelKey` instead, so the panel never has to translate a
* user's project name or hardcode a bucket's wording.
*/
name: string | null;
- /** i18n key under `verify:acceptance.workspace.groups.*` for a fixed bucket. */
- labelKey: string | null;
projectName: string | null;
}