Skip to content

Commit 4e667b9

Browse files
committed
fix: eslint errors
1 parent ddffc13 commit 4e667b9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/src/components/evaluators/EvaluatorDatasetExamplePreview.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,11 @@ const EvaluatorDatasetExamplePreviewContent = ({
110110
useEffect(() => {
111111
onSelectExampleId(example?.id ?? null);
112112
// These can be removed once the rules of hooks plugin is updated to support useEffectEvent
113-
// eslint-disable-next-line react-compiler/react-compiler
114-
// eslint-disable-next-line react-hooks/exhaustive-deps
115113
}, [example]);
116114
const value = useMemo(() => {
117115
try {
118116
return JSON.stringify(example?.revision, null, 2);
119-
} catch (error) {
117+
} catch {
120118
return null;
121119
}
122120
}, [example]);

app/src/pages/evaluators/NewEvaluatorPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ const createEvaluatorPayload = ({
8989
instanceId,
9090
name,
9191
description,
92-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
9392
choiceConfig,
9493
// eslint-disable-next-line @typescript-eslint/no-unused-vars
9594
inputMapping,

0 commit comments

Comments
 (0)