Skip to content

Commit

Permalink
Fix minor possible undefined issue
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Aug 11, 2022
1 parent 6690e11 commit 383b72f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { ScmFileChangeNode } from './scm-file-change-node';
@injectable()
export abstract class ScmNavigableListWidget<T extends { selected?: boolean }> extends ReactWidget {

protected scmNodes: T[];
protected scmNodes: T[] = [];
private _scrollContainer: string;

@inject(ScmService) protected readonly scmService: ScmService;
Expand Down

0 comments on commit 383b72f

Please sign in to comment.