revert: set last revision on unmount

This commit is contained in:
Joao Victor 2022-10-31 15:39:50 -03:00
parent 1b08b6e8ba
commit 5f945e32db

View File

@ -38,7 +38,7 @@ const Notes = ({
layoutContextDispatch,
isResizing,
}) => {
useEffect(() => Service.setLastRev(), []);
useEffect(() => () => Service.setLastRev(), []);
const { isChrome } = browserInfo;
return (