Protections on viewStory after we've unmounted

This commit is contained in:
Josh Perez 2022-07-19 16:38:32 -04:00 committed by GitHub
parent e2b217edbc
commit 4d67c6b056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View file

@ -9293,6 +9293,13 @@
"reasonCategory": "usageTrusted",
"updated": "2022-04-29T23:54:21.656Z"
},
{
"rule": "React-useRef",
"path": "ts/components/StoryViewer.tsx",
"line": " const unmountRef = useRef<boolean>(false);",
"reasonCategory": "usageTrusted",
"updated": "2022-07-18T23:30:04.033Z"
},
{
"rule": "React-useRef",
"path": "ts/components/StoryViewsNRepliesModal.tsx",