Skip to content

Commit 614b230

Browse files
committed
lint fix
1 parent fd5c01b commit 614b230

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

src/apps/review/src/lib/components/AiReviewsTable/AiReviewsTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import styles from './AiReviewsTable.module.scss'
2020

2121
interface AiReviewsTableProps {
2222
submission: Pick<BackendSubmission, 'id'|'virusScan'>
23-
reviewers: { aiWorkflowId: string }[]
2423
}
2524

2625
const stopPropagation = (ev: ReactMouseEvent<HTMLDivElement, MouseEvent>): void => {

src/apps/review/src/lib/components/CollapsibleAiReviewsRow/CollapsibleAiReviewsRow.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ const CollapsibleAiReviewsRow: FC<CollapsibleAiReviewsRowProps> = props => {
3535
</span>
3636
{isOpen && (
3737
<div className={classNames(styles.table, 'reviews-table')}>
38-
<AiReviewsTable
39-
reviewers={props.aiReviewers}
40-
submission={props.submission}
41-
/>
38+
<AiReviewsTable submission={props.submission} />
4239
</div>
4340
)}
4441
</div>

src/apps/review/src/lib/components/SubmissionHistoryModal/SubmissionHistoryModal.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,7 @@ export const SubmissionHistoryModal: FC<SubmissionHistoryModalProps> = (props: S
279279
<tr>
280280
<td className={styles.aiReviewersTableRow} colSpan={4}>
281281
<div className={styles.aiReviewersTable}>
282-
<AiReviewsTable
283-
reviewers={aiReviewers}
284-
submission={submission}
285-
/>
282+
<AiReviewsTable submission={submission} />
286283
</div>
287284
</td>
288285
</tr>

src/apps/review/src/pages/reviews/ReviewsContext/ReviewsContextProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Context, createContext, FC, PropsWithChildren, ReactNode, useContext, u
55
import { useParams, useSearchParams } from 'react-router-dom'
66

77
import { ChallengeDetailContext } from '../../../lib'
8-
import { ChallengeDetailContextModel, ReviewCtxStatus, ReviewsContextModel } from '../../../lib/models'
8+
import { ReviewCtxStatus, ReviewsContextModel } from '../../../lib/models'
99
import { AiWorkflowRunsResponse, useFetchAiWorkflowsRuns, useFetchSubmissionInfo } from '../../../lib/hooks'
1010

1111
export const ReviewsContext: Context<ReviewsContextModel>

0 commit comments

Comments
 (0)