Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.objects = {};
// init translations
I18n.setTranslations({
'en': require('./i18n/en'),
'de': require('./i18n/de'),
'es': require('./i18n/es'),
'fr': require('./i18n/fr'),
'it': require('./i18n/it'),
'nl': require('./i18n/nl'),
'pl': require('./i18n/pl'),
'pt': require('./i18n/pt'),
'ru': require('./i18n/ru'),
'zh-cn': require('./i18n/zh-cn'),
});
this.state = {
connected: false,
progress: 0,
ready: false,