mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-02-26 04:22:36 +01:00
22 lines
398 B
JavaScript
22 lines
398 B
JavaScript
import React from 'react';
|
|
import Helmet from 'components/helmet';
|
|
import './global.scss';
|
|
import { firePageView } from 'lib/gtag';
|
|
|
|
class DefaultLayout extends React.Component {
|
|
componentDidMount() {
|
|
firePageView(window.location.pathname);
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<div>
|
|
<Helmet />
|
|
{ this.props.children }
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default DefaultLayout;
|