Skip to content

Commit 0ccd56d

Browse files
authored
Removed unnecessary and expensive log
1 parent 49deffa commit 0ccd56d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feedingwebapp/src/robot/VideoStream.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ function VideoStream(props) {
5656
*/
5757
const imageCallback = useCallback(
5858
(message) => {
59-
console.log('Got image message for topic', props.topic)
59+
// console.log('Got image message for topic', props.topic)
6060
if (img.src) {
6161
URL.revokeObjectURL(img.src)
6262
}
6363
img.src = URL.createObjectURL(dataURItoBlob('data:image/jpg;base64,' + message.data))
6464
},
65-
[img, props.topic]
65+
[img/*, props.topic*/]
6666
)
6767

6868
// Subscribe to the image topic

0 commit comments

Comments
 (0)