Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix codeclimate issues

dominik-zeglen92335279aabf
diff --git a/saleor/static/dashboard/js/components/editor.js b/saleor/static/dashboard/js/components/editor.js
index 7e7bebfa01..dafce9089a 100644
--- a/saleor/static/dashboard/js/components/editor.js
+++ b/saleor/static/dashboard/js/components/editor.js
@@ -1,6 +1,6 @@
import MediumEditor from 'medium-editor';
-new MediumEditor('.rich-text-editor', {
+MediumEditor('.rich-text-editor', {
toolbar: {
buttons: [
{
@@ -52,8 +52,7 @@ new MediumEditor('.rich-text-editor', {
meta: true,
shift: false,
alt: false
- },
-
+ }
]
}
});