<ConversationHero>: only call onHeightChange when certain props change

This commit is contained in:
Evan Hahn
2021-08-19 11:36:09 -05:00
committed by GitHub
parent 65f0f87bad
commit 4b810d5c3e
2 changed files with 81 additions and 108 deletions

View File

@@ -13691,14 +13691,6 @@
"updated": "2020-10-26T19:12:24.410Z",
"reasonDetail": "Doesn't refer to a DOM element."
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/ConversationHero.js",
"line": " const previousHeightRef = react_1.useRef();",
"reasonCategory": "falseMatch",
"updated": "2021-05-05T21:55:35.064Z",
"reasonDetail": "Doesn't refer to a DOM element."
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/ConversationHero.tsx",
@@ -13707,13 +13699,6 @@
"updated": "2020-10-26T19:12:24.410Z",
"reasonDetail": "Doesn't refer to a DOM element."
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/ConversationHero.tsx",
"line": " const previousHeightRef = useRef<undefined | number>();",
"reasonCategory": "usageTrusted",
"updated": "2021-07-30T16:57:33.618Z"
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/GIF.js",