1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-12 10:02:48 +00:00

major file refactor - fix disconnecting bug

This commit is contained in:
2017-06-30 20:23:05 -05:00
parent 03fa82b2a2
commit de6332e89c
39 changed files with 73 additions and 28 deletions

23
client/app/Wrapper.js Normal file
View File

@@ -0,0 +1,23 @@
import React from 'react';
import Navbar from './components/Navbar/Navbar.component';
//styling
import './scss/index.scss';
export default class Wrapper extends React.Component {
render() {
return (
<div>
<Navbar/>
<div>
{this.props.children}
</div>
</div>
);
}
}
Wrapper.propTypes = {
children: React.PropTypes.node,
};