diff --git a/packages/scm-extra/src/browser/scm-navigable-list-widget.tsx b/packages/scm-extra/src/browser/scm-navigable-list-widget.tsx index 889bb3ab90efb..25b67aa7919dd 100644 --- a/packages/scm-extra/src/browser/scm-navigable-list-widget.tsx +++ b/packages/scm-extra/src/browser/scm-navigable-list-widget.tsx @@ -29,7 +29,7 @@ import { ScmFileChangeNode } from './scm-file-change-node'; @injectable() export abstract class ScmNavigableListWidget extends ReactWidget { - protected scmNodes: T[]; + protected scmNodes: T[] = []; private _scrollContainer: string; @inject(ScmService) protected readonly scmService: ScmService;