From cc0377fb598217d9df6473e369fbd455fc36f684 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Mon, 5 Jan 2026 17:10:28 +0530 Subject: [PATCH] Code changes required by latest react-virtualized-auto-sizer package which was updated in the previous commit. --- .../static/js/components/PgTree/FileTreeX/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/pgadmin/static/js/components/PgTree/FileTreeX/index.tsx b/web/pgadmin/static/js/components/PgTree/FileTreeX/index.tsx index b42a6bfb8..5b66539e9 100644 --- a/web/pgadmin/static/js/components/PgTree/FileTreeX/index.tsx +++ b/web/pgadmin/static/js/components/PgTree/FileTreeX/index.tsx @@ -24,7 +24,7 @@ import { Notificar, DisposablesComposite } from 'notificar'; import { IFileTreeXHandle, IFileTreeXProps, FileTreeXEvent, IFileTreeXTriggerEvents } from '../types'; import { KeyboardHotkeys } from '../services/keyboardHotkeys'; import { TreeModelX } from '../TreeModelX'; -import AutoSizer from 'react-virtualized-auto-sizer'; +import {AutoSizer} from 'react-virtualized-auto-sizer'; export class FileTreeX extends React.Component { private fileTreeHandle: IFileTreeXHandle; @@ -66,8 +66,8 @@ export class FileTreeX extends React.Component { flex: 1 }} tabIndex={-1}> - - {({ width, height }) => ( + ( { events={this.events}/>} )} - + /> ; }