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.
|
||||
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>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
|
|
@ -33,6 +33,7 @@ const App: React.FC = () => {
|
|||
} = useSelector((state: RootState) => state.session);
|
||||
|
||||
if (process.env.REACT_APP_BAPSICLE_INTERFACE) {
|
||||
document.title = "BAPS3 Presenter";
|
||||
if (bapsConnectionState !== "CONNECTED") {
|
||||
return <BAPSSessionHandler />;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue