Skip to content

Commit

Permalink
Merge pull request #21 from TartejBrothers/Changes
Browse files Browse the repository at this point in the history
Linked to OD Page
  • Loading branch information
TartejBrothers authored Jan 10, 2024
2 parents 39ae5d8 + f3f8ec7 commit 0ea7b93
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/project.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import "./styles/global.css";
import "./styles/project.css";
import { Link } from "react-router-dom";
export default function ProjectPage() {
const [startDate, setStartDate] = useState(new Date());
const [endDate, setEndDate] = useState(null);
Expand Down Expand Up @@ -49,9 +50,11 @@ export default function ProjectPage() {
<div className="datebody">18th November</div>
<div className="datebody">22nd - 30th November </div>
</div>
<button type="submit" className="submitbutton calculatebutton">
Calculate
</button>
<Link to="/od">
<button type="submit" className="submitbutton calculatebutton">
Calculate
</button>
</Link>
</div>
);
}

0 comments on commit 0ea7b93

Please sign in to comment.