diff --git a/src/views/Home.jsx b/src/views/Home.jsx
index 52bee35..41cffed 100644
--- a/src/views/Home.jsx
+++ b/src/views/Home.jsx
@@ -1,4 +1,5 @@
import './Home.css';
+import { SingleList } from '../components';
export function Home({ data, setListPath }) {
return (
@@ -6,11 +7,18 @@ export function Home({ data, setListPath }) {
Hello from the home (/
) page!
+
- {/**
- * TODO: write some JavaScript that renders the `lists` array
- * so we can see which lists the user has access to.
- */}
+ {data.map((item, index) => {
+ return (
+
+ );
+ })}
);
diff --git a/src/views/List.jsx b/src/views/List.jsx
index b52303c..3c67dd4 100644
--- a/src/views/List.jsx
+++ b/src/views/List.jsx
@@ -7,11 +7,9 @@ export function List({ data }) {
Hello from the /list
page!
- {/**
- * TODO: write some JavaScript that renders the `data` array
- * using the `ListItem` component that's imported at the top
- * of this file.
- */}
+ {Object.values(data).map((item) => (
+
+ ))}
>
);