forked from Mirrors/gomuks
web/timeline: add missing dependency to effect
This commit is contained in:
parent
f9b5fcc863
commit
7afcc37326
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ const TimelineView = () => {
|
|||
}, [client.userID, roomCtx, timeline])
|
||||
useEffect(() => {
|
||||
roomCtx.directSetFocusedEventRowID = directSetFocusedEventRowID
|
||||
}, [])
|
||||
}, [roomCtx])
|
||||
useEffect(() => {
|
||||
const newestEvent = timeline[timeline.length - 1]
|
||||
if (
|
||||
|
|
Loading…
Add table
Reference in a new issue