Skip to content

Commit

Permalink
fix: type 'undefined' is not assignable to type 'ValueRef<Person[]>'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Sep 23, 2019
1 parent 5841189 commit c57f7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/social-network-provider/options-page/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const optionsPageUISelf = defineSocialNetworkUI({
}
}
{
const ref = this.friendsRef
const ref = optionsPageUISelf.friendsRef
query(ref)
MessageCenter.on('peopleChanged', () => query(ref))
function query(ref: ValueRef<Person[]>) {
Expand Down

0 comments on commit c57f7a0

Please sign in to comment.