diff --git a/src/views/Modals/Inputs/LabelModal.jsx b/src/views/Modals/Inputs/LabelModal.jsx index 8080190..20509b0 100644 --- a/src/views/Modals/Inputs/LabelModal.jsx +++ b/src/views/Modals/Inputs/LabelModal.jsx @@ -1,12 +1,4 @@ -import { - Box, - Button, - FormControl, - Input, - Option, - Select, - Typography, -} from '@mui/joy' +import { Box, Button, FormControl, Input, Typography } from '@mui/joy' import { useEffect, useState } from 'react' import { useQueryClient } from '@tanstack/react-query' @@ -125,39 +117,30 @@ function LabelModal({ isOpen, onClose, label }) { Color - + {error && ( diff --git a/src/views/Modals/Inputs/ProjectModal.jsx b/src/views/Modals/Inputs/ProjectModal.jsx index b3bc503..0b97feb 100644 --- a/src/views/Modals/Inputs/ProjectModal.jsx +++ b/src/views/Modals/Inputs/ProjectModal.jsx @@ -5,8 +5,6 @@ import { FormControl, FormLabel, Input, - Option, - Select, Stack, Textarea, Typography, @@ -223,39 +221,30 @@ const ProjectModal = ({ isOpen, onClose, onSave, project }) => { {/* Color Selection */} Project Color - + {/* Error Message */}