Adding useTitle to every function page.

This commit is contained in:
Roland 2022-10-25 15:57:44 -06:00
parent 1033b0c38f
commit 5bf648001b
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
12 changed files with 55 additions and 12 deletions

View file

@ -1,5 +1,5 @@
import React from "react";
import {HelpPopup, humanFileSize, PageContainer, TabLinks, WROLModeMessage} from "./Common";
import {HelpPopup, humanFileSize, PageContainer, TabLinks, useTitle, WROLModeMessage} from "./Common";
import {Route, Routes} from "react-router-dom";
import {getMapImportStatus, importMapFiles} from "../api";
import {
@ -248,6 +248,8 @@ function MapApp() {
}
export function MapRoute() {
useTitle('Map');
const links = [
{text: 'Map', to: '/map', key: 'map', end: true},
{text: 'Manage', to: '/map/manage', key: 'manage'},