[RN] Prevent a possible TypeError
This commit is contained in:
committed by
Lyubo Marinov
parent
d0476991a6
commit
70fc727b92
@@ -42,7 +42,9 @@ export default class OverlayFrame extends Component {
|
||||
*
|
||||
* @type {boolean}
|
||||
*/
|
||||
filmstripOnly: interfaceConfig.filmStripOnly
|
||||
filmstripOnly:
|
||||
typeof interfaceConfig !== 'undefined'
|
||||
&& interfaceConfig.filmStripOnly
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user