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:
23
client/app/Wrapper.js
Normal file
23
client/app/Wrapper.js
Normal 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,
|
||||
};
|
||||
Reference in New Issue
Block a user