Remove conditional check for timeline data (#37922)

This commit is contained in:
Echo
2026-02-19 18:20:33 +01:00
committed by GitHub
parent 39ff07bc89
commit 8e7c3973dc

View File

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