]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/pages/Tournament.js
more alternate/canonical links
[alttp.git] / resources / js / components / pages / Tournament.js
index 7abd5e437b25bf8454e49810d9a2e12cde88a30a..d148059fef2cda83250afa2a5e290dbdaaa0e07a 100644 (file)
@@ -3,6 +3,7 @@ import React, { useEffect, useState } from 'react';
 import { Helmet } from 'react-helmet';
 import { useParams } from 'react-router-dom';
 
+import CanonicalLinks from '../common/CanonicalLinks';
 import ErrorBoundary from '../common/ErrorBoundary';
 import ErrorMessage from '../common/ErrorMessage';
 import Loading from '../common/Loading';
@@ -131,6 +132,7 @@ const Tournament = () => {
                <Helmet>
                        <title>{tournament.title}</title>
                </Helmet>
+               <CanonicalLinks base={`/tournaments/${tournament.id}`} />
                <Detail addRound={addRound} tournament={tournament} />
        </ErrorBoundary>;
 };