tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Error in populateFlicks fundtion of app/home/home-view-model.ts

Open alecgregory opened this issue 3 years ago • 0 comments

In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function.

It is defined as

populateFlicks(): void {
    this._flicks = FlickService().getInstance().getFlicks();
  }

but should be

populateFlicks(): void {
    this._flicks = FlickService.getInstance().getFlicks();
  }

That is, FlickService should not be called.

alecgregory avatar May 16 '22 15:05 alecgregory