feat: Default to "recently viewed" (#2390)

* feat: Default user to first collection on first app open

* Default home tab to 'recently viewed'

* fix: Styling of inactive tab
This commit is contained in:
Tom Moor
2021-07-30 10:16:03 -04:00
committed by GitHub
parent 63eb8aadaf
commit 59de4a7db0
4 changed files with 38 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ type Props = {
const NavLinkWithChildrenFunc = ({ to, exact = false, children, ...rest }) => (
<Route path={to} exact={exact}>
{({ match }) => (
<NavLink to={to} {...rest}>
<NavLink to={to} exact={exact} {...rest}>
{children(match)}
</NavLink>
)}