Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d21420c

Browse files
committed
Fix error in OOP starter code
1 parent 88b7264 commit d21420c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

homework-classes/View.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
* @param {Object[]} repos An array of repository objects.
4747
*/
4848
renderSelect(repos) {
49-
const select = this.createAndAppend('select', this.header);
49+
this.select = this.createAndAppend('select', this.header);
5050
// TODO: replace this comment and the console.log with your own code
51-
console.log(select, repos);
51+
console.log(repos);
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)