Only scroll at the top of the infinite list on mount
There was an implicit dependency on the scroll handler that wasn't correct, since it would trigger scroll-to-top at unexpected times. Splitting the effect into two solves the issue at no cost.
There was an implicit dependency on the scroll handler that wasn't correct, since it would trigger scroll-to-top at unexpected times. Splitting the effect into two solves the issue at no cost.