From c56c7799b4f16d89cc14e67110c867224173fc46 Mon Sep 17 00:00:00 2001 From: irismarie Date: Thu, 20 May 2021 16:32:39 +0200 Subject: [PATCH] fix --- src/componentconfig/import-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/componentconfig/import-config.js b/src/componentconfig/import-config.js index 2b69d9a..c034198 100644 --- a/src/componentconfig/import-config.js +++ b/src/componentconfig/import-config.js @@ -55,7 +55,7 @@ class ImportConfigDialog extends React.Component { loadFile = event => { // get file const file = event.target.files[0]; - if (file.type.match('application/json') === false) { + if (!file.type.match('application/json')) { return; }