mirror of
https://github.com/plankanban/planka.git
synced 2025-08-04 21:15:25 +02:00
Update dependencies
This commit is contained in:
parent
4da29f2d8e
commit
d1b74f9d11
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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue