From cf40b24ef60fbb953c8991466083d251de8877c2 Mon Sep 17 00:00:00 2001 From: Joao Victor Date: Tue, 6 Dec 2022 07:32:40 -0300 Subject: [PATCH] fix: Webcam backgrounds crash the entire client on Firefox --- .../ui/components/video-preview/virtual-background/context.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/video-preview/virtual-background/context.jsx b/bigbluebutton-html5/imports/ui/components/video-preview/virtual-background/context.jsx index 93bbdfa90e..f25762d3d7 100644 --- a/bigbluebutton-html5/imports/ui/components/video-preview/virtual-background/context.jsx +++ b/bigbluebutton-html5/imports/ui/components/video-preview/virtual-background/context.jsx @@ -77,7 +77,7 @@ export const CustomBackgroundsProvider = ({ children }) => { const loadFromDB = () => { const onError = () => dispatch({ type: 'load', - backgrounds: {}, + backgrounds: [], }); const onSuccess = (backgrounds) => dispatch({