mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 17:23:21 +03:00
Move from prettier-eslint to eslint-plugin-prettier, update dependencies
This commit is contained in:
@@ -7,7 +7,7 @@ import Config from '../constants/Config';
|
||||
const nextPosition = (items, index, excludedId) => {
|
||||
const filteredItems = isUndefined(excludedId)
|
||||
? items
|
||||
: items.filter((item) => item.id !== excludedId);
|
||||
: items.filter(item => item.id !== excludedId);
|
||||
|
||||
if (isUndefined(index)) {
|
||||
const lastItem = filteredItems[filteredItems.length - 1];
|
||||
|
||||
Reference in New Issue
Block a user