diff --git a/src/components/ticker/TickerForm.tsx b/src/components/ticker/TickerForm.tsx index 455a57ba..d58fef90 100644 --- a/src/components/ticker/TickerForm.tsx +++ b/src/components/ticker/TickerForm.tsx @@ -8,7 +8,6 @@ import { MapContainer, Marker, TileLayer } from 'react-leaflet' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { Alert, - Box, Button, Checkbox, FormControlLabel, @@ -18,7 +17,6 @@ import { Stack, TextField, Typography, - useTheme, } from '@mui/material' import { faComputerMouse, @@ -80,7 +78,6 @@ const TickerForm: FC = ({ callback, id, ticker }) => { const { token } = useAuth() const { postTicker, putTicker } = useTickerApi(token) const queryClient = useQueryClient() - const theme = useTheme() const onLocationChange = useCallback( (result: Result) => { @@ -310,22 +307,6 @@ const TickerForm: FC = ({ callback, id, ticker }) => { ) : null} - - - - - - ) } diff --git a/src/components/ticker/TickerModalForm.tsx b/src/components/ticker/TickerModalForm.tsx index 1c613f54..3d3d2cdb 100644 --- a/src/components/ticker/TickerModalForm.tsx +++ b/src/components/ticker/TickerModalForm.tsx @@ -1,6 +1,8 @@ import { Close } from '@mui/icons-material' import { + Button, Dialog, + DialogActions, DialogContent, DialogTitle, IconButton, @@ -59,6 +61,21 @@ const TickerModalForm: FC = ({ onClose, open, ticker }) => { ) : null} + + {tabValue === 0 ? ( + + ) : null} + + ) }