mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-18 01:21:08 +00:00
refactor the nav into the pages
This commit is contained in:
@@ -5,6 +5,7 @@ import moment from 'moment';
|
||||
import _ from 'lodash';
|
||||
|
||||
import BrewItem from './brewItem/brewItem.jsx';
|
||||
import Navbar from '../../../navbar/navbar.jsx';
|
||||
|
||||
const USERPAGE_SORT_DIR = 'HB_listPage_sortDir';
|
||||
const USERPAGE_SORT_TYPE = 'HB_listPage_sortType';
|
||||
@@ -328,7 +329,7 @@ const ListPage = ({ brewCollection = [{ title: '', class: '', brews: [] }], navI
|
||||
|
||||
return (
|
||||
<div className='listPage sitePage'>
|
||||
{navItems}
|
||||
<Navbar>{navItems}</Navbar>
|
||||
|
||||
{renderNav()}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user