Skip to content

Commit b7be8a1

Browse files
committed
remove unused table container ref
1 parent 5928dbe commit b7be8a1

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

client/src/views/Collection.jsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { Button, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, Skeleton
1111
import { Masonry } from '@mui/lab'
1212
import clsx from 'clsx'
1313
import { LazyLoadImage } from 'react-lazy-load-image-component'
14-
import LazyLoad from 'react-lazyload'
1514
import { MapPinIcon } from '../assets/icons/MapPinIcon'
1615
import { PhotoIcon } from '../assets/icons/PhotoIcon'
1716
import { getAssetUrl } from '../common/utils'
@@ -32,7 +31,6 @@ function Collection({ isSelfProfile }) {
3231
const [allRemovedItems, setAllRemovedItems] = useState([])
3332

3433
const [selectedTab, setSelectedTab] = useState('gallery')
35-
const tabContainerRef = React.useRef()
3634

3735
const handleRemoveItem = async () => {
3836
try {
@@ -213,12 +211,6 @@ function Collection({ isSelfProfile }) {
213211
className="py-0"
214212
>
215213
<div
216-
ref={tabContainerRef}
217-
style={
218-
{
219-
// height: `calc(100vh - ${tabContainerOffset}px) overflow-y-hidden`,
220-
}
221-
}
222214
className="pt-2"
223215
>
224216
<SnapMap markers={mapMarkers} streetViewControl mapClassName="h-[calc(100vh-160px)]" />

0 commit comments

Comments
 (0)