revert: set last revision on unmount
This commit is contained in:
parent
1b08b6e8ba
commit
5f945e32db
@ -38,7 +38,7 @@ const Notes = ({
|
||||
layoutContextDispatch,
|
||||
isResizing,
|
||||
}) => {
|
||||
useEffect(() => Service.setLastRev(), []);
|
||||
useEffect(() => () => Service.setLastRev(), []);
|
||||
const { isChrome } = browserInfo;
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user