0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00
This commit is contained in:
G.Ambatte
2025-02-05 21:35:33 +13:00
parent 6d2cbaacc0
commit 03798e945d
4 changed files with 154 additions and 1 deletions

View File

@@ -4,8 +4,9 @@ const createClass = require('create-react-class');
const BrewUtils = require('./brewUtils/brewUtils.jsx');
const NotificationUtils = require('./notificationUtils/notificationUtils.jsx');
import AuthorUtils from './authorUtils/authorUtils.jsx';
const tabGroups = ['brew', 'notifications'];
const tabGroups = ['brew', 'notifications', 'authors'];
const Admin = createClass({
getDefaultProps : function() {
@@ -39,6 +40,7 @@ const Admin = createClass({
</nav>
{this.state.currentTab==='brew' && <BrewUtils />}
{this.state.currentTab==='notifications' && <NotificationUtils />}
{this.state.currentTab==='authors' && <AuthorUtils />}
</main>
</div>;
}