Fix BAPS <title>
This commit is contained in:
parent
fede677bb5
commit
7508756b00
2 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
work correctly both with client-side routing and a non-root public URL.
|
work correctly both with client-side routing and a non-root public URL.
|
||||||
Learn how to configure a non-root public URL by running `npm run build`.
|
Learn how to configure a non-root public URL by running `npm run build`.
|
||||||
-->
|
-->
|
||||||
<title>BAPS3 Presenter</title>
|
<title>WebStudio | University Radio York</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
|
|
@ -33,6 +33,7 @@ const App: React.FC = () => {
|
||||||
} = useSelector((state: RootState) => state.session);
|
} = useSelector((state: RootState) => state.session);
|
||||||
|
|
||||||
if (process.env.REACT_APP_BAPSICLE_INTERFACE) {
|
if (process.env.REACT_APP_BAPSICLE_INTERFACE) {
|
||||||
|
document.title = "BAPS3 Presenter";
|
||||||
if (bapsConnectionState !== "CONNECTED") {
|
if (bapsConnectionState !== "CONNECTED") {
|
||||||
return <BAPSSessionHandler />;
|
return <BAPSSessionHandler />;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue