From ba7de799ccf1e4d0f96501e340d646c3d1b002ef Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Tue, 19 Jan 2021 17:13:06 -0600 Subject: [PATCH] Remove Virtual Scroll temporarily --- components/pages/ListDetail.jsx | 10 +++------- components/ui/VirtualScroll.jsx | 5 ----- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 components/ui/VirtualScroll.jsx diff --git a/components/pages/ListDetail.jsx b/components/pages/ListDetail.jsx index 51cced4..75a3637 100644 --- a/components/pages/ListDetail.jsx +++ b/components/pages/ListDetail.jsx @@ -7,7 +7,6 @@ import * as selectors from '../../store/selectors'; import Content from '../ui/Content'; import List from '../ui/List'; -import VirtualScroll from '../ui/VirtualScroll'; const ListItems = ({ list }) => { return ( @@ -15,12 +14,9 @@ const ListItems = ({ list }) => {
All Lists
- } - /> + {(list?.items || []).map(item => ( + + ))} ); }; diff --git a/components/ui/VirtualScroll.jsx b/components/ui/VirtualScroll.jsx deleted file mode 100644 index 01ded4e..0000000 --- a/components/ui/VirtualScroll.jsx +++ /dev/null @@ -1,5 +0,0 @@ -import { Virtuoso } from 'react-virtuoso'; - -const VirtualScroll = props => ; - -export default VirtualScroll;