Files
developer-roadmap/layouts/default/index.js
2020-01-17 19:18:47 +04:00

20 lines
339 B
JavaScript

import React from 'react';
import './global.scss';
import { firePageView } from 'lib/gtag';
class DefaultLayout extends React.Component {
componentDidMount() {
firePageView(window.location.pathname);
}
render() {
return (
<div>
{ this.props.children }
</div>
);
}
}
export default DefaultLayout;