Fix white screen when sharing screen
This commit is contained in:
parent
b50c96c0b5
commit
085a698a73
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ export const CallingSelectPresentingSourcesModal = ({
|
|||
{i18n('calling__SelectPresentingSourcesModal--entireScreen')}
|
||||
</div>
|
||||
<div className="module-CallingSelectPresentingSourcesModal__sources">
|
||||
{sources.true.map(source => (
|
||||
{(sources.true ?? []).map(source => (
|
||||
<Source
|
||||
key={source.id}
|
||||
onSourceClick={selectedSource => setSourceToPresent(selectedSource)}
|
||||
|
@ -110,7 +110,7 @@ export const CallingSelectPresentingSourcesModal = ({
|
|||
{i18n('calling__SelectPresentingSourcesModal--window')}
|
||||
</div>
|
||||
<div className="module-CallingSelectPresentingSourcesModal__sources">
|
||||
{sources.false.map(source => (
|
||||
{(sources.false ?? []).map(source => (
|
||||
<Source
|
||||
key={source.id}
|
||||
onSourceClick={selectedSource => setSourceToPresent(selectedSource)}
|
||||
|
|
Loading…
Reference in a new issue