Skip to content

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

Fix code style issues

Anna Siwik2ab51e1762c3
diff --git a/saleor/static/dashboard/js/components/image-gallery.js b/saleor/static/dashboard/js/components/image-gallery.js
index 4fc2c43a6f..72c7de26a7 100644
--- a/saleor/static/dashboard/js/components/image-gallery.js
+++ b/saleor/static/dashboard/js/components/image-gallery.js
@@ -1,6 +1,5 @@
// eslint-disable-next-line no-unused-vars
import Dropzone from 'dropzone';
-import Sortable from 'sortablejs';
function createLink (link, index, replacement) {
const outputLink = link.attr('data-href-template').split('/');
diff --git a/saleor/static/dashboard/js/components/sortable.js b/saleor/static/dashboard/js/components/sortable.js
index 5cdd2530fd..1789196836 100644
--- a/saleor/static/dashboard/js/components/sortable.js
+++ b/saleor/static/dashboard/js/components/sortable.js
@@ -1,6 +1,5 @@
import Sortable from 'sortablejs';
-
$('.sortable-items').each(function() {
Sortable.create(this, {
handle: '.sortable__drag-area',