Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-mayfield committed Jun 7, 2022
1 parent e4f9470 commit 81e710f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"react-d3-graph": "^2.6.0",
"react-d3-library": "^1.1.8",
"react-dom": "^17.0.2",
"react-ga": "^3.3.0",
"react-heatmap": "^1.0.6",
"react-helmet": "^6.1.0",
"react-icons": "^4.2.0",
Expand Down
10 changes: 10 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
-->
<title>React App</title>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R2FGREE96X"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-R2FGREE96X');
</script>

</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import React, { useState } from 'react'
export default class App extends React.Component {

render() {

return (
<div className="App">
<main className="App-header" role="main">
Expand All @@ -22,6 +21,7 @@ render() {
<Route path="/data" render={(props) => <DataView {...props} key={Math.random()}/>} />
</main>
</div>

);
}
}

0 comments on commit 81e710f

Please sign in to comment.