Skip to content

Commit abd77ef

Browse files
committed
fix(site) Use correct export name from react-g-analytics module
1 parent 48552f8 commit abd77ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import React from 'react';
33
import ReactDOM from 'react-dom';
44
import { BrowserRouter, Route } from 'react-router-dom';
5-
import AnalyticsRouter from 'react-g-analytics';
5+
import { BrowserRouter as AnalyticsRouter } from 'react-g-analytics';
66

77
// Import Components
88
import Site from './components/Site/Site';

src/server.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const bundles = [
2525
// Export method for `SSGPlugin`
2626
export default locals => {
2727
let { assets } = locals.webpackStats.compilation;
28-
let title = GetPageTitle(Content, locals.path)
28+
let title = GetPageTitle(Content, locals.path);
2929

3030
return ReactDOMServer.renderToString(
3131
<StaticRouter location={locals.path} context={{}}>

0 commit comments

Comments
 (0)