Angular 4: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe'

前端 未结 5 1555
北恋
北恋 2020-12-08 13:47

i need your help, i\'m trying to display some datas from my firebase but it trhows me an error like InvalidPipeArgument: \'[object Object]\' for pipe \'AsyncPipe\'

5条回答
  •  再見小時候
    2020-12-08 14:06

    async is used for binding to Observables and Promises, but it seems like you're binding to a regular object. You can just remove both async keywords and it should probably work.

提交回复
热议问题