Remove conditional check for timeline data (#37922)

pull/37923/head
Echo 4 days ago committed by GitHub
parent 39ff07bc89
commit 8e7c3973dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -86,11 +86,9 @@ const InnerTimeline: FC<{ accountId: string; multiColumn: boolean }> = ({
const dispatch = useAppDispatch();
useEffect(() => {
if (accountId) {
if (!timeline) {
dispatch(expandTimelineByKey({ key }));
}
dispatch(expandTimelineByKey({ key }));
}
}, [accountId, dispatch, key, timeline]);
}, [accountId, dispatch, key]);
const handleLoadMore = useCallback(
(maxId: number) => {

Loading…
Cancel
Save