Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Remove initial assignment to this.items
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 7, 2021
1 parent 80c3e14 commit 180f224
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/select-list-view.ts
Expand Up @@ -35,7 +35,6 @@ module.exports = class SelectListView {

constructor (props: SelectListProperties) {
this.props = props
this.items = props.items

if (!this.props.hasOwnProperty('initialSelectionIndex')) {
this.props.initialSelectionIndex = 0
Expand Down

0 comments on commit 180f224

Please sign in to comment.