1
0
mirror of https://github.com/ascribe/onion.git synced 2025-02-14 21:10:27 +01:00
onion/js/components/whitelabel/wallet
Brett Sun 764f81925b Change children prop from react-router to only be a Element type
Judging by
https://github.com/rackt/react-router/blob/master/docs/API.md#children-1
and a few inspections in the code, as well as tests, the `children`
prop injected into routes can only ever be a single React Element
object.

This allows us to easily get the active route of a child (if there is
an active route) by querying the `children`’s route prop.
2016-02-04 13:31:18 +01:00
..
components Merge with master 2016-02-01 10:18:30 +01:00
constants Fix api endpoints 2015-11-24 18:17:38 +01:00
wallet_app.js Change children prop from react-router to only be a Element type 2016-02-04 13:31:18 +01:00
wallet_routes.js Standardize CoaVerify route across apps 2016-02-04 13:30:18 +01:00