Skip to content

Commit

Permalink
fix(messenger): call handle persistent options at onboarding
Browse files Browse the repository at this point in the history
Signed-off-by: clegirar <clemntgirard@gmail.com>
  • Loading branch information
clegirar committed Nov 27, 2020
1 parent f890845 commit 571ec60
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions js/packages/components/onboarding/SetupFinished.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ const SetupFinishedBody = () => {
},
})
}
if (!persistentOptions && Object.values(contacts).length) {
return () => {
handlePersistentOptions().catch((e) => console.warn(e))
}

return () => {
handlePersistentOptions().catch((e) => console.warn(e))
}
}, [persistentOptions, contacts, setPersistentOption])

Expand Down

0 comments on commit 571ec60

Please sign in to comment.