import { useParams } from "react-router-dom"; import TodoModal from "../Modal/TodoModal"; import styles from "./buttons.module.scss"; const AddBtn = () => { const { date } = useParams() return ( <> > ) } export default AddBtn