Fixed settings page and modals

This commit is contained in:
MaxOvs19
2023-04-03 14:37:27 +03:00
parent 9bab7d17cd
commit 8bd7bb7535
3 changed files with 75 additions and 10 deletions

View File

@ -4,7 +4,7 @@ import { setProject } from "../../../redux/projectsTrackerSlice";
import "./ModalCreate.scss";
export const ModalCreate = ({ active, setActive, title }) => {
export const ModalCreate = ({ active, setActive, title, desc }) => {
const [inputValue, setInputValue] = useState("");
const dispatch = useDispatch();
@ -33,6 +33,7 @@ export const ModalCreate = ({ active, setActive, title }) => {
>
<div className="title-project">
<h4>{title}</h4>
<p>{desc}</p>
<div className="input-container">
<input
className="name-project"