Fix media editor undo state bugs

This commit is contained in:
Evan Hahn
2022-01-03 15:29:19 -08:00
committed by GitHub
parent 7273e580bd
commit dca2364ba4
4 changed files with 287 additions and 255 deletions

View File

@@ -7461,13 +7461,6 @@
"updated": "2020-02-14T20:02:37.507Z",
"reasonDetail": "Used only to set focus"
},
{
"rule": "React-useRef",
"path": "ts/components/MediaEditor.tsx",
"line": " const isRestoringImageState = useRef(false);",
"reasonCategory": "usageTrusted",
"updated": "2021-12-01T01:13:59.892Z"
},
{
"rule": "React-useRef",
"path": "ts/components/Modal.tsx",