Skip to content

Commit

Permalink
fix: back to home link (checklist #18)
Browse files Browse the repository at this point in the history
  • Loading branch information
freddi301 committed Apr 9, 2024
1 parent 1bc721b commit 75e4d92
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from "react";
import { Button } from "design-react-kit";
import { Link } from "react-router-dom";
import Hourglass from "../../../../assets/icons/hourglass.svg";
import { DASHBOARD } from "../../../../navigation/routes";

const RequestApproval = () => (
<section className="request-approval">
Expand All @@ -12,17 +14,12 @@ const RequestApproval = () => (
<br />
Riceverete una e-mail non appena sarà approvata.
</div>
<Button
className="px-14 mr-4"
color="primary"
outline
tag="button"
onClick={() => window.location.replace("/")}
>
Esci
</Button>
<Link to={DASHBOARD}>
<Button className="px-14 mr-4" color="primary" outline tag="button">
Esci
</Button>
</Link>
</div>
</section>
);

export default RequestApproval;

0 comments on commit 75e4d92

Please sign in to comment.