mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
Add email and password change functionality for a current user, remove deep compare hooks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useEffect, useRef } from 'react';
|
||||
|
||||
export default (value) => {
|
||||
const prevValue = useRef();
|
||||
const prevValue = useRef(value);
|
||||
|
||||
useEffect(() => {
|
||||
prevValue.current = value;
|
||||
|
||||
Reference in New Issue
Block a user