mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 16:19:47 +02:00
Add email and password change functionality for a current user, remove deep compare hooks
This commit is contained in:
parent
b53e5bf94c
commit
680d664279
67 changed files with 1232 additions and 267 deletions
|
@ -6,11 +6,7 @@ import { useTranslation } from 'react-i18next';
|
|||
import { Button, Form, Input } from 'semantic-ui-react';
|
||||
|
||||
import {
|
||||
useClosableForm,
|
||||
useDeepCompareCallback,
|
||||
useDidUpdate,
|
||||
useForm,
|
||||
useToggle,
|
||||
useClosableForm, useDidUpdate, useForm, useToggle,
|
||||
} from '../../hooks';
|
||||
|
||||
import styles from './AddList.module.css';
|
||||
|
@ -62,7 +58,7 @@ const AddList = React.forwardRef(({ children, onCreate }, ref) => {
|
|||
close,
|
||||
);
|
||||
|
||||
const handleSubmit = useDeepCompareCallback(() => {
|
||||
const handleSubmit = useCallback(() => {
|
||||
const cleanData = {
|
||||
...data,
|
||||
name: data.name.trim(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue