Skip to content

Commit

Permalink
to modify dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
atiehamidi committed Aug 30, 2020
1 parent 6719e08 commit 96cb88c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pages/Dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "./index.css";

import { selectToken } from "../../store/user/selectors";


export default function Dashboard() {
const user = useSelector(selectUser);
console.log("testdashboard", user.pets);
Expand Down Expand Up @@ -46,17 +45,12 @@ export default function Dashboard() {
/>
<p style={{ textAlign: "center" }}>{pet.name}</p>




<p style={{ textAlign: "center" }}>{pet.breed}</p>
<Link to={`/${pet.id}`}>
<button className="button1">details</button>
</Link>
<Link to={`/${pet.id}/newservice`}>
<button className="button1">Request</button>
</Link>

</div>
</div>
);
Expand Down

0 comments on commit 96cb88c

Please sign in to comment.