diff --git a/src/components/BookCard.tsx b/src/components/BookCard.tsx index b8d43e9..b4a1dd8 100644 --- a/src/components/BookCard.tsx +++ b/src/components/BookCard.tsx @@ -1,6 +1,6 @@ import React from "react"; import Link from "next/link"; -import { FaEdit, FaTrash, FaCheckSquare } from "react-icons/fa"; +import { FaEdit, FaTrash, FaCheckSquare, FaRegSquare } from "react-icons/fa"; import { useSession } from "next-auth/react"; import { toast } from "react-toastify"; import { useRouter } from "next/router"; @@ -119,20 +119,21 @@ const BookCard = ({ _id, title, author, start, end }) => {
- + - - + + {end ? ( + + ) : ( + + )}
)} diff --git a/src/components/layout/index.tsx b/src/components/layout/index.tsx index dfd0826..ebf2890 100644 --- a/src/components/layout/index.tsx +++ b/src/components/layout/index.tsx @@ -6,7 +6,7 @@ import Footer from "./Footer"; const Layout = ({ children }) => { return ( -
+