on master help sign in
formatting: wrap comment in Bridge.js
18b6a23Matt Condon (shrugs)
src/bridge/Bridge.js+2−1
@@ -35,7 +35,8 @@ const kInitialRoutes = isStubbed
35 ]
35 ]
36 : [{ name: ROUTE_NAMES.LANDING }];
36 : [{ name: ROUTE_NAMES.LANDING }];
37
37
38−// the router itself is a component that renders a specific view based on the latest history state
38+// the router itself is a component that renders a specific view
39+// based on the latest history state
39const Router = function(props) {
40const Router = function(props) {
40 const history = useHistory();
41 const history = useHistory();
41 const Route = router(history.peek());
42 const Route = router(history.peek());