Skip to content

Commit 542fbcf

Browse files
committed
Remove unecessary imports
1 parent a818ea9 commit 542fbcf

File tree

7 files changed

+10
-78
lines changed

7 files changed

+10
-78
lines changed

apps/frontend/src/app/matching/MatchingModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, createContext, useContext, useCallback, useEffect } from 'react';
1+
import React, { useState, useEffect } from 'react';
22
import {
33
Modal,
44
} from 'antd';

apps/frontend/src/app/matching/modalContent/FindMatchContent.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { useState } from 'react';
2-
import {
3-
Modal,
2+
import {
43
Tag,
54
Select,
65
Space,

apps/frontend/src/app/matching/modalContent/JoinedMatchContent.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1-
import React, { useState } from 'react';
2-
import {
3-
Modal,
4-
Tag,
5-
Select,
6-
Space,
1+
import React from 'react';
2+
import {
73
Avatar,
84
} from 'antd';
95
import {
10-
LoadingOutlined,
116
UserOutlined,
127
} from '@ant-design/icons';
13-
import {
14-
DifficultyOption,
15-
CategoriesOption,
16-
} from '@/utils/SelectOptions';
17-
import type { SelectProps } from 'antd';
188
import 'typeface-montserrat';
199
import './styles.scss';
2010
import { handleCancelMatch } from '../handlers';

apps/frontend/src/app/matching/modalContent/MatchCancelledContent.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
import React, { useState } from 'react';
2-
import {
3-
Modal,
4-
Tag,
5-
Select,
6-
Space,
7-
Avatar,
8-
} from 'antd';
9-
import {
10-
LoadingOutlined,
11-
UserOutlined,
12-
} from '@ant-design/icons';
13-
import {
14-
DifficultyOption,
15-
CategoriesOption,
16-
} from '@/utils/SelectOptions';
17-
import type { SelectProps } from 'antd';
1+
import React from 'react';
182
import 'typeface-montserrat';
193
import './styles.scss';
204
import { handleReselectMatchOptions, handleRetryMatch } from '../handlers';

apps/frontend/src/app/matching/modalContent/MatchFoundContent.tsx

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
1-
import React, { useState } from 'react';
2-
import {
3-
Modal,
4-
Tag,
5-
Select,
6-
Space,
7-
Avatar,
8-
} from 'antd';
9-
import {
10-
LoadingOutlined,
11-
UserOutlined,
12-
} from '@ant-design/icons';
13-
import {
14-
DifficultyOption,
15-
CategoriesOption,
16-
} from '@/utils/SelectOptions';
17-
import type { SelectProps } from 'antd';
1+
import React from 'react';
2+
import { Avatar } from 'antd';
3+
import { UserOutlined } from '@ant-design/icons';
184
import 'typeface-montserrat';
195
import './styles.scss';
206
import { handleCancelMatch, handleJoinMatch } from '../handlers';

apps/frontend/src/app/matching/modalContent/MatchNotFoundContent.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
import React, { useState } from 'react';
2-
import {
3-
Modal,
4-
Tag,
5-
Select,
6-
Space,
7-
Avatar,
8-
} from 'antd';
9-
import {
10-
LoadingOutlined,
11-
UserOutlined,
12-
} from '@ant-design/icons';
13-
import {
14-
DifficultyOption,
15-
CategoriesOption,
16-
} from '@/utils/SelectOptions';
17-
import type { SelectProps } from 'antd';
1+
import React from 'react';
182
import 'typeface-montserrat';
193
import './styles.scss';
204
import { handleReselectMatchOptions, handleRetryMatch } from '../handlers';

apps/frontend/src/app/matching/modalContent/MatchingInProgressContent.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
import React, { useState } from 'react';
2-
import {
3-
Modal,
4-
Tag,
5-
Select,
6-
Space,
7-
} from 'antd';
1+
import React from 'react';
82
import { LoadingOutlined } from '@ant-design/icons';
9-
import {
10-
DifficultyOption,
11-
CategoriesOption,
12-
} from '@/utils/SelectOptions';
13-
import type { SelectProps } from 'antd';
143
import 'typeface-montserrat';
154
import './styles.scss';
165
import { handleCancelMatch } from '../handlers';

0 commit comments

Comments
 (0)