mirror of
https://github.com/plankanban/planka.git
synced 2025-07-28 17:49:43 +02:00
Fix timer counting, fix flickering on comment creation, update dependencies
This commit is contained in:
parent
680d664279
commit
be6158afe5
5 changed files with 21 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
|||
import { useEffect, useRef } from 'react';
|
||||
|
||||
export default (value) => {
|
||||
const prevValue = useRef(value);
|
||||
const prevValue = useRef();
|
||||
|
||||
useEffect(() => {
|
||||
prevValue.current = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue