Open robbyphillips opened 5 years ago
EditorPageContainer
has been refactored to make use of the top level categories
prop. Turns out it really wasn't that big of a deal, but that code could still use some cleanup...
I'm for sure breaking my own rules here by putting unrelated commits into this branch, but they're good little fixes and will merge fine.
Done:
SubNav
component to top-levelApp
, and put in a<Route>
that matches root and/categories/:categoryName
routescategories.json
App
mounts and pass that data to page componentsMainPageContainer
to accept acategories
prop, which is an array of category dataTODO:
EditorPageContainer
to accept thecategories
array prop... (it's a lot)