@@ -141,17 +155,15 @@ const Main = ({ settings, setSettings }: MainProps): JSX.Element => {
>
-
- setSettings({ ...settings, mode: settings.mode === 'dark' ? 'light' : 'dark' })
- }
- >
- {theme.palette.mode === 'dark' ? : }
-
-
+
{
)}
/>
(
)}
/>
- (
-
- )}
- />
- (
-
- )}
- />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
/>
- }
- />
+
+
+
+
+
+
+
+
-
-
-
-
+
+
);
};
diff --git a/frontend/src/basic/MakerPage/index.tsx b/frontend/src/basic/MakerPage/index.tsx
index faecff2a..193f0880 100644
--- a/frontend/src/basic/MakerPage/index.tsx
+++ b/frontend/src/basic/MakerPage/index.tsx
@@ -1,6 +1,5 @@
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
-import { useHistory } from 'react-router-dom';
import { Button, Grid, Paper, Collapse, Typography } from '@mui/material';
import { LimitList, Maker, Book, Favorites } from '../../models';
@@ -32,9 +31,8 @@ const MakerPage = ({
windowSize,
}: MakerPageProps): JSX.Element => {
const { t } = useTranslation();
- const history = useHistory();
- const maxHeight = windowSize.height * 0.85 - 7;
+ const maxHeight = windowSize.height * 0.85 - 3;
const [showMatches, setShowMatches] = useState