2019-11-08 01:32:01 +04:00
|
|
|
import React from 'react';
|
2019-11-07 22:38:15 +04:00
|
|
|
import Helmet from 'components/helmet';
|
2019-10-19 22:01:36 +04:00
|
|
|
import './global.scss';
|
2019-11-13 23:06:07 +04:00
|
|
|
import { firePageView } from 'lib/gtag';
|
2019-10-19 21:24:16 +04:00
|
|
|
|
2019-11-08 01:32:01 +04:00
|
|
|
class DefaultLayout extends React.Component {
|
|
|
|
componentDidMount() {
|
|
|
|
firePageView(window.location.pathname);
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
{ this.props.children }
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2019-10-19 21:24:16 +04:00
|
|
|
|
2019-11-07 22:38:15 +04:00
|
|
|
export default DefaultLayout;
|