File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
package/src/components/MessageOverlay Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ const MessageOverlayWithContext = <
159159 const wrapMessageInTheme = clientId === message ?. user ?. id && ! ! myMessageTheme ;
160160
161161 const [ myMessageThemeString , setMyMessageThemeString ] = useState ( JSON . stringify ( myMessageTheme ) ) ;
162- const [ , setReactionListHeight ] = useState ( 0 ) ;
163162
164163 useEffect ( ( ) => {
165164 if ( myMessageTheme ) {
@@ -360,7 +359,6 @@ const MessageOverlayWithContext = <
360359 ownReactionTypes = {
361360 message ?. own_reactions ?. map ( ( reaction ) => reaction . type ) || [ ]
362361 }
363- setReactionListHeight = { setReactionListHeight }
364362 showScreen = { showScreen }
365363 />
366364 ) : null }
Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ export type OverlayReactionListPropsWithContext<
239239 y : number ;
240240 } > ;
241241 ownReactionTypes : string [ ] ;
242- setReactionListHeight : React . Dispatch < React . SetStateAction < number > > ;
243242 showScreen : Animated . SharedValue < number > ;
244243 fill ?: FillProps [ 'fill' ] ;
245244 } ;
@@ -255,7 +254,6 @@ const OverlayReactionListWithContext = <
255254 handleReaction,
256255 messageLayout,
257256 ownReactionTypes,
258- setReactionListHeight,
259257 showScreen,
260258 setOverlay,
261259 supportedReactions = reactionData ,
@@ -356,7 +354,6 @@ const OverlayReactionListWithContext = <
356354 } ) => {
357355 reactionListLayout . value = { height, width : layoutWidth } ;
358356 reactionListHeight . value = height ;
359- setReactionListHeight ( height ) ;
360357 } }
361358 style = { [
362359 styles . reactionList ,
You can’t perform that action at this time.
0 commit comments