finos / openfin-react-hooks

A collection of React Hooks built on top of the Openfin API - from Scott Logic
Apache License 2.0
48 stars 19 forks source link

InterApplicationBus hooks not working #43

Closed ms14981 closed 4 years ago

ms14981 commented 4 years ago

Affected hooks: useInterApplicationBusSend useInterApplicationPublish useInterApplicationSubscribe

Broken in this commit: 0427cb8accf79f6c41958d75dbfe6c9e35ea20ee

Leads to the following error when using the useInterApplicationPublish hook in a local demo app (not the one in the README): TypeError: Cannot read property 'publish' of undefined

image