diff --git a/src/views/Home.jsx b/src/views/Home.jsx
index adb5b3a..e0d32a9 100644
--- a/src/views/Home.jsx
+++ b/src/views/Home.jsx
@@ -1,6 +1,6 @@
import './Home.css';
import { SingleList } from '../components';
-import { useState } from 'react';
+import { Fragment, useState } from 'react';
import { createList, useAuth } from '../api';
import { useNavigate } from 'react-router-dom';
@@ -40,15 +40,15 @@ export function Home({ data, setListPath }) {
{data &&
data.map((list) => {
+ const uniqueId = crypto.randomUUID();
return (
- <>
+
- >
+
);
})}
diff --git a/src/views/List.jsx b/src/views/List.jsx
index 7387a47..2b0498a 100644
--- a/src/views/List.jsx
+++ b/src/views/List.jsx
@@ -1,5 +1,5 @@
import { ListItem } from '../components';
-import { useState, useEffect } from 'react';
+import { useState, useEffect, Fragment } from 'react';
import BasicModal from './Modal';
import { comparePurchaseUrgency } from '../api';
@@ -82,14 +82,14 @@ export function List({ data, userId }) {
{filteredObject &&
Object.entries(filteredObject).map(([timeBucket, list]) => (
- <>
+
{labels[timeBucket]}
{list.map((item) => (
-
+
))}
- >
+
))}
>