Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vassbence committed Sep 27, 2024
1 parent 7a4ec8e commit d11b7df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Grid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ function InternalGrid({
state.current.itemHeight = itemHeight
state.current.itemWidth = itemWidth

console.log(state.current)

onScroll?.(
state.current.firstRow * state.current.columns,
state.current.lastRow * state.current.columns + state.current.columns,
Expand All @@ -210,16 +208,14 @@ function InternalGrid({
}, [scrollElementRef, data])

return (
<ScrollArea>
<ScrollArea ref={scrollElementRef}>
<div
ref={scrollElementRef}
style={{
width: '100%',
height: '100%',
display: 'grid',
gap: GRID_GAP,
gridTemplateColumns: `repeat(auto-fill, minmax(160px, 1fr))`,
overflowY: 'auto',
}}
>
{virtualized &&
Expand Down

0 comments on commit d11b7df

Please sign in to comment.