Skip to content

Commit e1b04e1

Browse files
committed
Exclude matching form
1 parent f791787 commit e1b04e1

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

frontend/src/pages/Home/index.tsx

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
import {
2-
Autocomplete,
3-
Button,
4-
Card,
5-
FormControl,
6-
Grid2,
7-
TextField,
2+
// Autocomplete,
3+
// Button,
4+
// Card,
5+
// FormControl,
6+
// Grid2,
7+
// TextField,
88
Typography,
99
} from "@mui/material";
10-
import { useEffect, useReducer, useState } from "react";
10+
// import { useEffect, useReducer, useState } from "react";
1111

1212
import classes from "./index.module.css";
1313
import AppMargin from "../../components/AppMargin";
14-
import {
15-
complexityList,
16-
languageList,
17-
maxMatchTimeout,
18-
minMatchTimeout,
19-
} from "../../utils/constants";
20-
import reducer, {
21-
getQuestionCategories,
22-
initialState,
23-
} from "../../reducers/questionReducer";
24-
import CustomChip from "../../components/CustomChip";
14+
// import {
15+
// complexityList,
16+
// languageList,
17+
// maxMatchTimeout,
18+
// minMatchTimeout,
19+
// } from "../../utils/constants";
20+
// import reducer, {
21+
// getQuestionCategories,
22+
// initialState,
23+
// } from "../../reducers/questionReducer";
24+
// import CustomChip from "../../components/CustomChip";
2525
// import homepageImage from "/homepage_image.svg";
2626

2727
const Home: React.FC = () => {
28-
const [complexity, setComplexity] = useState<string[]>([]);
29-
const [selectedCategories, setSelectedCategories] = useState<string[]>([]);
30-
const [language, setLanguage] = useState<string[]>([]);
31-
const [timeout, setTimeout] = useState<number>(30);
28+
// const [complexity, setComplexity] = useState<string[]>([]);
29+
// const [selectedCategories, setSelectedCategories] = useState<string[]>([]);
30+
// const [language, setLanguage] = useState<string[]>([]);
31+
// const [timeout, setTimeout] = useState<number>(30);
3232

33-
const [state, dispatch] = useReducer(reducer, initialState);
33+
// const [state, dispatch] = useReducer(reducer, initialState);
3434

35-
useEffect(() => {
36-
getQuestionCategories(dispatch);
37-
}, []);
35+
// useEffect(() => {
36+
// getQuestionCategories(dispatch);
37+
// }, []);
3838

3939
return (
4040
<AppMargin
@@ -78,7 +78,7 @@ const Home: React.FC = () => {
7878
objectFit: "contain",
7979
}}
8080
/> */}
81-
<Card
81+
{/* <Card
8282
sx={{
8383
padding: 4,
8484
width: "100%",
@@ -268,7 +268,7 @@ const Home: React.FC = () => {
268268
>
269269
Find my match!
270270
</Button>
271-
</Card>
271+
</Card> */}
272272
</AppMargin>
273273
);
274274
};

0 commit comments

Comments
 (0)