This commit is contained in:
Jonas Kamsker 2020-08-10 22:21:26 +02:00
commit 681bd3a1f2
4 changed files with 11 additions and 1 deletions

5
package-lock.json generated
View file

@ -11023,6 +11023,11 @@
"resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.7.tgz", "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.7.tgz",
"integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA==" "integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA=="
}, },
"react-ga": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/react-ga/-/react-ga-3.1.2.tgz",
"integrity": "sha512-OJrMqaHEHbodm+XsnjA6ISBEHTwvpFrxco65mctzl/v3CASMSLSyUkFqz9yYrPDKGBUfNQzKCjuMJwctjlWBbw=="
},
"react-is": { "react-is": {
"version": "16.13.1", "version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",

View file

@ -13,6 +13,7 @@
"react-copy-to-clipboard": "^5.0.2", "react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-dropzone": "^11.0.2", "react-dropzone": "^11.0.2",
"react-ga": "^3.1.2",
"react-scripts": "3.4.1" "react-scripts": "3.4.1"
}, },
"scripts": { "scripts": {

View file

@ -173,7 +173,7 @@ class ChecksumResolver extends React.Component {
required required
fullWidth fullWidth
id="checksum" id="checksum"
label="Checksum or Drag&Drop .aax file" label="Checksum or Drag&Drop .aax file -"
name="checksum" name="checksum"
autoComplete="checksum" autoComplete="checksum"
autoFocus autoFocus

View file

@ -5,6 +5,10 @@ import App from './App';
import * as serviceWorker from './serviceWorker'; import * as serviceWorker from './serviceWorker';
import ChecksumResolver from './ChecksumResolver'; import ChecksumResolver from './ChecksumResolver';
import ReactGA from 'react-ga';
ReactGA.initialize('UA-174657678-1');
ReactGA.pageview(window.location.pathname + window.location.search);
ReactDOM.render( ReactDOM.render(
<ChecksumResolver />, <ChecksumResolver />,
document.getElementById('root') document.getElementById('root')