mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
Move from prettier-eslint to eslint-plugin-prettier, update dependencies
This commit is contained in:
parent
1f43d4f214
commit
45bde7e7c0
254 changed files with 5539 additions and 5170 deletions
|
@ -15,9 +15,7 @@ import { ReactComponent as PlusMathIcon } from '../../assets/images/plus-math-ic
|
|||
import styles from './List.module.css';
|
||||
|
||||
const List = React.memo(
|
||||
({
|
||||
id, index, name, isPersisted, cardIds, onUpdate, onDelete, onCardCreate,
|
||||
}) => {
|
||||
({ id, index, name, isPersisted, cardIds, onUpdate, onDelete, onCardCreate }) => {
|
||||
const [t] = useTranslation();
|
||||
|
||||
const addCard = useRef(null);
|
||||
|
@ -30,7 +28,7 @@ const List = React.memo(
|
|||
}, [isPersisted]);
|
||||
|
||||
const handleNameUpdate = useCallback(
|
||||
(newName) => {
|
||||
newName => {
|
||||
onUpdate({
|
||||
name: newName,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue