[RN] Prevent a possible TypeError

This commit is contained in:
paweldomas 2017-09-18 09:48:53 -05:00 committed by Lyubo Marinov
parent d0476991a6
commit 70fc727b92
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ export default class OverlayFrame extends Component {
* *
* @type {boolean} * @type {boolean}
*/ */
filmstripOnly: interfaceConfig.filmStripOnly filmstripOnly:
typeof interfaceConfig !== 'undefined'
&& interfaceConfig.filmStripOnly
}; };
} }