const React = require('react'); const ReactRedux = require('react-redux'); const ReactRouter = require('react-router'); const Styled = require('styled-components'); const Container = require('@ui/components/container'); const Li = require('@ui/components/horizontal-list/li'); const Org = require('@containers/org'); const PropTypes = require('@root/prop-types'); const Redirect = require('@components/redirect'); const selectors = require('@state/selectors'); const Ul = require('@ui/components/horizontal-list/ul'); const NotFound = require('@containers/not-found'); const { connect } = ReactRedux; const { Link, Match, Miss } = ReactRouter; const { default: styled } = Styled; const { orgsSelector } = selectors; const StyledNav = styled.div` background-color: #f2f2f2; `; const Home = ({ orgs = [] }) => { const navLinks = orgs.map(({ id, name }) => { const to = `/${id}`; return (