mirror of
https://github.com/maputnik/editor.git
synced 2026-01-04 12:30:00 +00:00
Many dependency updates
@storybook 6.4.20 blocks most of others like: react 18, webpack 5, and keeps lots of unnecessary dependencies due to chakra 2 dep.
This commit is contained in:
@@ -4,7 +4,7 @@ import cloneDeep from 'lodash.clonedeep'
|
||||
import clamp from 'lodash.clamp'
|
||||
import get from 'lodash.get'
|
||||
import {unset} from 'lodash'
|
||||
import arrayMove from 'array-move'
|
||||
import {arrayMoveImmutable} from 'array-move'
|
||||
import url from 'url'
|
||||
import hash from "string-hash";
|
||||
|
||||
@@ -486,7 +486,7 @@ export default class App extends React.Component {
|
||||
}
|
||||
|
||||
layers = layers.slice(0);
|
||||
layers = arrayMove(layers, oldIndex, newIndex);
|
||||
layers = arrayMoveMutable(layers, oldIndex, newIndex);
|
||||
this.onLayersChange(layers);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user