Update dependencies

This commit is contained in:
Maksim Eltyshev
2020-03-25 00:15:47 +05:00
parent 05adea1afd
commit de61d94a98
145 changed files with 963 additions and 1149 deletions

View File

@@ -42,7 +42,7 @@ const AddList = React.forwardRef(({ children, onCreate }, ref) => {
}, [open]);
const handleFieldKeyDown = useCallback(
event => {
(event) => {
if (event.key === 'Escape') {
close();
}

View File

@@ -13,7 +13,7 @@ import { ReactComponent as PlusMathIcon } from '../../assets/images/plus-math-ic
import styles from './Board.module.css';
const parseDndId = dndId => dndId.split(':')[1];
const parseDndId = (dndId) => dndId.split(':')[1];
const Board = React.memo(
({

View File

@@ -26,14 +26,14 @@ const Filter = React.memo(
const [t] = useTranslation();
const handleUserRemoveClick = useCallback(
id => {
(id) => {
onUserRemove(id);
},
[onUserRemove],
);
const handleLabelRemoveClick = useCallback(
id => {
(id) => {
onLabelRemove(id);
},
[onLabelRemove],
@@ -44,7 +44,7 @@ const Filter = React.memo(
<span className={styles.filter}>
<ProjectMembershipsPopup
items={allProjectMemberships}
currentUserIds={users.map(user => user.id)}
currentUserIds={users.map((user) => user.id)}
title={t('common.filterByMembers', {
context: 'title',
})}
@@ -56,7 +56,7 @@ const Filter = React.memo(
{users.length === 0 && <span className={styles.filterLabel}>{t('common.all')}</span>}
</button>
</ProjectMembershipsPopup>
{users.map(user => (
{users.map((user) => (
<span key={user.id} className={styles.filterItem}>
<User
name={user.name}
@@ -70,7 +70,7 @@ const Filter = React.memo(
<span className={styles.filter}>
<LabelsPopup
items={allLabels}
currentIds={labels.map(label => label.id)}
currentIds={labels.map((label) => label.id)}
title={t('common.filterByLabels', {
context: 'title',
})}
@@ -85,7 +85,7 @@ const Filter = React.memo(
{labels.length === 0 && <span className={styles.filterLabel}>{t('common.all')}</span>}
</button>
</LabelsPopup>
{labels.map(label => (
{labels.map((label) => (
<span key={label.id} className={styles.filterItem}>
<Label
name={label.name}