Skip to content

Commit fcb4e2a

Browse files
committed
Fix linter
1 parent 5fc1cf9 commit fcb4e2a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

frontend/src/app/(auth)/find-match/page.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ import {
1818
} from "@/types/find-match";
1919
import { useForm } from "react-hook-form";
2020

21+
interface FindMatchFormOutput {
22+
questionDifficulty: string;
23+
preferredLanguages: string;
24+
}
25+
2126
function capitalizeWord(word: string) {
2227
if (!word) return word;
2328
return word[0].toUpperCase() + word.substr(1).toLowerCase();
@@ -62,7 +67,7 @@ const FindPeer = () => {
6267
})
6368
.sort((a, b) => a.label.localeCompare(b.label));
6469

65-
const onSubmit = (data) => {
70+
const onSubmit = (data: FindMatchFormOutput) => {
6671
console.log(data);
6772
};
6873

frontend/src/components/ui/multiselect.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export const MultiSelect = React.forwardRef<
133133
animation = 0,
134134
maxCount = 3,
135135
modalPopover = false,
136+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
136137
asChild = false,
137138
className,
138139
...props

0 commit comments

Comments
 (0)