]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/pages/AosTracker.js
add helmet
[alttp.git] / resources / js / components / pages / AosTracker.js
index 8eafd1f66e1dc2c3a8944395f0214a64dada2f01..5273d0bc3a40f296499230a68cdfcdcea75d86d9 100644 (file)
@@ -1,14 +1,14 @@
 import React from 'react';
 import { Container } from 'react-bootstrap';
+import { Helmet } from 'react-helmet';
 
 import Map from '../aos-tracker/Map';
 
 const AosTracker = () => {
-       React.useEffect(() => {
-               window.document.title = 'Aos Tracker';
-       }, []);
-
        return <Container fluid>
+               <Helmet>
+                       <title>AoS Tracker</title>
+               </Helmet>
                <Map />
        </Container>;
 };