diff --git a/src/client/components/Dashboard/Dashboard.tsx b/src/client/components/Dashboard/Dashboard.tsx index dc6e357..9974aae 100644 --- a/src/client/components/Dashboard/Dashboard.tsx +++ b/src/client/components/Dashboard/Dashboard.tsx @@ -202,7 +202,7 @@ export const Dashboard = (): ReactElement => { {/* Volume groups */} - + ); }; diff --git a/src/client/components/Dashboard/VolumeGroups.tsx b/src/client/components/Dashboard/VolumeGroups.tsx index 840d2de..944526b 100644 --- a/src/client/components/Dashboard/VolumeGroups.tsx +++ b/src/client/components/Dashboard/VolumeGroups.tsx @@ -2,7 +2,7 @@ import { map, unionBy } from "lodash"; import React, { ReactElement } from "react"; import ellipsize from "ellipsize"; import { Link, useNavigate } from "react-router-dom"; -import Masonry from "react-masonry-css"; +import Card from "../shared/Carda"; export const VolumeGroups = (props): ReactElement => { const breakpointColumnsObj = { @@ -18,7 +18,6 @@ export const VolumeGroups = (props): ReactElement => { navigate(`/volumes/all`); }; - console.log(props); return ( @@ -32,32 +31,39 @@ export const VolumeGroups = (props): ReactElement => { Based on ComicVine Volume information - + {map(deduplicatedGroups, (data) => { return ( - - - - - - {ellipsize(data.volumes.name, 18)} - + + + + + + {ellipsize(data.volumes.name, 18)} + + + + + Issues + + {data.volumes.count_of_issues} + + + - - - Issues - {data.volumes.count_of_issues} - - - + + + + ); })} - + ); };
Based on ComicVine Volume information