From e91b3b3aacd82455b9248f5b5f4e0d7d2eee3edc Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Sat, 4 Jun 2022 23:22:20 -0400 Subject: [PATCH] Added icon for create link on home page --- exercises-ui/src/pages/HomePage.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/exercises-ui/src/pages/HomePage.js b/exercises-ui/src/pages/HomePage.js index 136ca4b..121f044 100644 --- a/exercises-ui/src/pages/HomePage.js +++ b/exercises-ui/src/pages/HomePage.js @@ -2,6 +2,7 @@ import ExerciseList from "../components/ExerciseList"; import React, { useEffect, useState } from "react"; import { Link } from "react-router-dom"; import { useHistory } from "react-router-dom"; +import { MdAdd } from "react-icons/md"; import "../App.css"; function HomePage({ setExerciseToEdit }) { @@ -44,7 +45,9 @@ function HomePage({ setExerciseToEdit }) { onEdit={onEdit} >
- Create + + +
);