Skip to content

Commit dfb9ebd

Browse files
committed
chore: fix test
1 parent 531c833 commit dfb9ebd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/database/DatabaseViews.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ function DatabaseViews({
5252
const views = database?.get(YjsDatabaseKey.views);
5353

5454
const [layout, setLayout] = useState<DatabaseViewLayout | null>(null);
55-
const viewContainerRef = useRef<HTMLDivElement | null>(null);
5655
// Track the previous valid layout to prevent flash when switching to a new view
5756
const prevLayoutRef = useRef<DatabaseViewLayout | null>(null);
5857

@@ -148,7 +147,6 @@ function DatabaseViews({
148147
<DatabaseConditions />
149148

150149
<div
151-
ref={viewContainerRef}
152150
className={'relative flex h-full w-full flex-1 flex-col overflow-hidden'}
153151
style={
154152
fixedHeight !== undefined

0 commit comments

Comments
 (0)