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
@@ -30,7 +30,7 @@ const Actions = React.memo(
);
const handleCommentDelete = useCallback(
id => {
(id) => {
onCommentDelete(id);
},
[onCommentDelete],
@@ -51,7 +51,7 @@ const Actions = React.memo(
<div className={styles.moduleHeader}>{t('common.actions')}</div>
<div className={styles.wrapper}>
<Comment.Group>
{items.map(item =>
{items.map((item) =>
item.type === ActionTypes.COMMENT_CARD ? (
<Item.Comment
key={item.id}
@@ -60,7 +60,7 @@ const Actions = React.memo(
isPersisted={item.isPersisted}
user={item.user}
isEditable={isEditable}
onUpdate={data => handleCommentUpdate(item.id, data)}
onUpdate={(data) => handleCommentUpdate(item.id, data)}
onDelete={() => handleCommentDelete(item.id)}
/>
) : (
@@ -35,7 +35,7 @@ const AddComment = React.memo(({ onCreate }) => {
}, [onCreate, data, setData]);
const handleFieldKeyDown = useCallback(
event => {
(event) => {
if (event.ctrlKey && event.key === 'Enter') {
submit();
}
@@ -57,7 +57,7 @@ const EditComment = React.forwardRef(({ children, defaultData, onUpdate }, ref)
);
const handleFieldKeyDown = useCallback(
event => {
(event) => {
if (event.ctrlKey && event.key === 'Enter') {
submit();
}