Skip to content

Commit

Permalink
<title>{tour?.title}</title>
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Sep 1, 2024
1 parent 38d5dff commit a3f9e89
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/views/Main/DetailReworked.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import ShareIcon from "../../icons/ShareIcon";
import Close from "../../icons/Close";
import { shortenText, parseFileName } from "../../utils/globals";
import transformToDescriptionDetail from "../../utils/transformJson";
import { Helmet } from 'react-helmet';
import '/src/config.js';


Expand Down Expand Up @@ -538,13 +539,16 @@ useEffect(() => {
</Box>
);


return (

<Box sx={{ backgroundColor: "#fff" }}>
{isTourLoading ? (
<LoadingSpinner />
) : (
<>
<Helmet>
<title>{tour?.title}</title>
</Helmet>
<Box className="newHeader" sx={{ position: "relative" }}>
<Box component={"div"} className="rowing blueDiv">
{/* close tab /modal in case no return history available ###### section */}
Expand Down

0 comments on commit a3f9e89

Please sign in to comment.