diff --git a/frontend/src/pages/app-config/app-config.tsx b/frontend/src/pages/app-config/app-config.tsx
index 68471fd3..63df2d70 100644
--- a/frontend/src/pages/app-config/app-config.tsx
+++ b/frontend/src/pages/app-config/app-config.tsx
@@ -185,14 +185,13 @@ const AppConfig: React.FC = () => {
summary="Collect images of TV shows & movies using TMDB"
/>
- {/* */}
+ />
{
summary="Collect public Instagram images"
/>
- {/* */}
+ />
diff --git a/frontend/src/pages/app-settings/parks-settings.tsx b/frontend/src/pages/app-settings/parks-settings.tsx
index 4f63c950..f1b496a5 100644
--- a/frontend/src/pages/app-settings/parks-settings.tsx
+++ b/frontend/src/pages/app-settings/parks-settings.tsx
@@ -1,15 +1,9 @@
import React, { useEffect, useState } from 'react';
-import { makeStyles } from '@material-ui/core/styles';
import { useForm } from 'react-hook-form';
-import { Button, Form, SwitchForm2, TextField2, MultiSelect2 } from '@schulzetenberg/component-library';
-
-const useStyles = makeStyles(() => ({
- textCenter: { textAlign: 'center' },
-}));
+import { Button, Form, MultiSelect2 } from '@schulzetenberg/component-library';
type FormData = {
- active: boolean;
visited: { value: string; label: string }[];
options: { value: string; label: string }[];
schedule: string;
@@ -17,7 +11,6 @@ type FormData = {
};
const ParksSettings: React.FC<{ data: FormData; isLoading: boolean; submit: any }> = ({ data, isLoading, submit }) => {
- const classes = useStyles();
const [options, setOptions] = useState<{ value: string; label: string }[]>([]);
const {
@@ -33,21 +26,14 @@ const ParksSettings: React.FC<{ data: FormData; isLoading: boolean; submit: any
if (data) {
setOptions(data.options);
- const { active, visited, schedule, cloudinaryUpload } = data;
- reset({ active, visited, schedule, cloudinaryUpload });
+ const { visited } = data;
+ reset({ visited });
}
}, [data, reset]);
return (