diff --git a/src/assets/styles/custom.css b/src/assets/styles/custom.css new file mode 100644 index 0000000..45f760e --- /dev/null +++ b/src/assets/styles/custom.css @@ -0,0 +1,5 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} \ No newline at end of file diff --git a/src/components/List.jsx b/src/components/List.jsx index 3dae9f5..48f08b1 100644 --- a/src/components/List.jsx +++ b/src/components/List.jsx @@ -7,6 +7,7 @@ import { useSelector, useDispatch } from 'react-redux'; import { useNavigate } from 'react-router-dom'; import { getLocation } from '../redux/list/listSlice'; import { fetchResidents } from '../redux/location/residentsSlice'; +import '../assets/styles/custom.css'; const List = () => { const dispatch = useDispatch(); @@ -113,7 +114,7 @@ const List = () => { return (
-
+
{location.residentURLs.map((residentURL) => { const residentId = residentURL.split('/').pop(); const resident = residentMap[residentId];