window titles

This commit is contained in:
cv
2021-04-27 09:15:36 +02:00
parent 712df0b446
commit 099240c866
5 changed files with 30 additions and 0 deletions
@@ -4,10 +4,16 @@ import Paginator from '../../../common/components/views/Paginator';
import NavLogo from '../../../common/components/nav/NavLogo';
import { AnimatePresence, motion } from 'framer-motion';
import TitleSide from '../../../common/components/views/TitleSide';
import { useEffect } from 'react';
export default function StageManager(props) {
const { publ, publicTitle, time, events, publicSelectedId, general } = props;
// Set window title
useEffect(() => {
document.title = 'ontime - Public Screen';
}, []);
// Format messages
const showPubl = publ.text !== '' && publ.visible;