1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00

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

@ -17,7 +17,7 @@ const UsersModal = React.memo(({ items, onUpdate, onDelete, onClose }) => {
);
const handleDelete = useCallback(
id => {
(id) => {
onDelete(id);
},
[onDelete],
@ -41,13 +41,13 @@ const UsersModal = React.memo(({ items, onUpdate, onDelete, onClose }) => {
</Table.Row>
</Table.Header>
<Table.Body>
{items.map(item => (
{items.map((item) => (
<Item
key={item.id}
name={item.name}
email={item.email}
isAdmin={item.isAdmin}
onUpdate={data => handleUpdate(item.id, data)}
onUpdate={(data) => handleUpdate(item.id, data)}
onDelete={() => handleDelete(item.id)}
/>
))}