tried to add analyitics but failed

This commit is contained in:
Viktor Rådberg
2023-08-26 19:26:46 +02:00
parent 51e9056eac
commit 3d8d7525d0
3 changed files with 18 additions and 11 deletions

View File

@@ -1,4 +1,8 @@
index.html,1693048446124,b351131379064e36f67109e39cfeb07c303bcc52bd4c7d67325d3522c5184cc7 manifest.json,1693069583936,91ce94afb71f33a477f5d8d48c3f98bd7de422279c74f17b6500eec72003ac1a
vite.svg,1693048445997,d3bbbc44b3ea71906a72bf2ec1a4716903e2e3d9f85a5007205a65d1f12e2923 index.html,1693069584093,6b94bfa279d7639e72ce48d0e997824865ab66e4c519a64ac6906bf32636d200
assets/index-5265c558.css,1693048446124,08c4451946bbdf520fe337edb365417a8bbf91914c018b83866723ef52d57b43 robots.txt,1693069583936,391d14b3c2f8c9143a27a28c7399585142228d4d1bdbe2c87ac946de411fa9a2
assets/index-8f4d569e.js,1693048446124,a0693393f657c18014ccff294601ac1021e94ee930ef4b0aead30146cb9809e0 assets/index-5265c558.css,1693069584093,08c4451946bbdf520fe337edb365417a8bbf91914c018b83866723ef52d57b43
logo192.png,1693069583935,4309255bccbdbb341b5ab88708677e3d43b9e171d2666528ff932295a8257e4e
favicon.ico,1693069583934,48d8c1b9714dbc9bcb012d9c9f04112d229f20e6c889bda588ac159f973e6a8d
logo512.png,1693069583936,92c7c05dc98170596d04f48e5e60eaae9535f409bcaeff129fd98fef8aba9f4e
assets/index-3f4fc294.js,1693069584093,ca292dd8ad8ae5540a8aefe69f8042a19e46655862e0ac68b149bb55ce0a9bce

View File

@@ -103,6 +103,7 @@ const Start = ({
if (!initialGameSettings) { if (!initialGameSettings) {
return; return;
} }
document.documentElement.requestFullscreen(); document.documentElement.requestFullscreen();
setInitialGameSettings(initialGameSettings); setInitialGameSettings(initialGameSettings);
setPlayers(createInitialPlayers(initialGameSettings)); setPlayers(createInitialPlayers(initialGameSettings));

View File

@@ -1,12 +1,14 @@
import React from 'react' import React from 'react';
import ReactDOM from 'react-dom/client' import ReactDOM from 'react-dom/client';
import App from './App.tsx' import App from './App.tsx';
import './index.css' import './index.css';
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement) const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render( root.render(
<React.StrictMode> <React.StrictMode>
<App /> <App />
</React.StrictMode>, </React.StrictMode>
) );