fazo96 / ipfs-boards

a truly distributed social platform for the browser with no backend and no external applications required
http://boards.ydns.eu
219 stars 20 forks source link

Refactor how React components retrieve the API instance #52

Closed fazo96 closed 8 years ago

fazo96 commented 8 years ago

The current way has this nasty bug (#45) that would probably be fixed by using props to pass down the instance of the API to lower components and instantiating it in the root component.

fazo96 commented 8 years ago

Done in 40b20bc9e130d580459e860f56b94aa259b05ea1