Aman Sharma
commited on
Commit
·
3ada77e
1
Parent(s):
d897ded
fix : Remove log
Browse files
streaming-react-app/src/App.tsx
CHANGED
@@ -6,6 +6,9 @@ import CssBaseline from '@mui/material/CssBaseline';
|
|
6 |
import {createContext, useCallback, useState} from 'react';
|
7 |
import packageJson from '../package.json';
|
8 |
|
|
|
|
|
|
|
9 |
console.log(`Streaming React App version: ${packageJson?.version}`);
|
10 |
|
11 |
// Roboto font for mui ui library
|
|
|
6 |
import {createContext, useCallback, useState} from 'react';
|
7 |
import packageJson from '../package.json';
|
8 |
|
9 |
+
console.log = () => { };
|
10 |
+
console.debug = () => {};
|
11 |
+
|
12 |
console.log(`Streaming React App version: ${packageJson?.version}`);
|
13 |
|
14 |
// Roboto font for mui ui library
|
streaming-react-app/src/StreamingInterface.tsx
CHANGED
@@ -784,7 +784,7 @@ export default function StreamingInterface() {
|
|
784 |
)}
|
785 |
</Box>
|
786 |
|
787 |
-
{isSpeaker && (
|
788 |
<>
|
789 |
<Divider />
|
790 |
|
@@ -1081,7 +1081,7 @@ export default function StreamingInterface() {
|
|
1081 |
</Button>
|
1082 |
</Box>
|
1083 |
|
1084 |
-
{roomID == null ? null : (
|
1085 |
<Box
|
1086 |
sx={{
|
1087 |
flexGrow: 1,
|
@@ -1090,9 +1090,8 @@ export default function StreamingInterface() {
|
|
1090 |
}}>
|
1091 |
{xrDialogComponent}
|
1092 |
</Box>
|
1093 |
-
)}
|
1094 |
</Stack>
|
1095 |
-
|
1096 |
{serverExceptions.length > 0 && (
|
1097 |
<div>
|
1098 |
<Alert severity="error">
|
@@ -1132,7 +1131,7 @@ export default function StreamingInterface() {
|
|
1132 |
|
1133 |
{debugParam && roomID != null && <DebugSection />}
|
1134 |
|
1135 |
-
<div className="translation-text-container-sra horizontal-padding-sra">
|
1136 |
<Stack
|
1137 |
direction="row"
|
1138 |
spacing={2}
|
@@ -1185,7 +1184,7 @@ export default function StreamingInterface() {
|
|
1185 |
)}
|
1186 |
</div>
|
1187 |
</Stack>
|
1188 |
-
</div>
|
1189 |
</div>
|
1190 |
</Box>
|
1191 |
</div>
|
|
|
784 |
)}
|
785 |
</Box>
|
786 |
|
787 |
+
{!isSpeaker && (
|
788 |
<>
|
789 |
<Divider />
|
790 |
|
|
|
1081 |
</Button>
|
1082 |
</Box>
|
1083 |
|
1084 |
+
{/* {roomID == null ? null : (
|
1085 |
<Box
|
1086 |
sx={{
|
1087 |
flexGrow: 1,
|
|
|
1090 |
}}>
|
1091 |
{xrDialogComponent}
|
1092 |
</Box>
|
1093 |
+
)} */}
|
1094 |
</Stack>
|
|
|
1095 |
{serverExceptions.length > 0 && (
|
1096 |
<div>
|
1097 |
<Alert severity="error">
|
|
|
1131 |
|
1132 |
{debugParam && roomID != null && <DebugSection />}
|
1133 |
|
1134 |
+
{/* <div className="translation-text-container-sra horizontal-padding-sra">
|
1135 |
<Stack
|
1136 |
direction="row"
|
1137 |
spacing={2}
|
|
|
1184 |
)}
|
1185 |
</div>
|
1186 |
</Stack>
|
1187 |
+
</div> */}
|
1188 |
</div>
|
1189 |
</Box>
|
1190 |
</div>
|