Replace react-router-scroll-4 with inlined implementation (#36253)
This commit is contained in:
parent
6d2493ca7c
commit
d801cf8e59
12 changed files with 302 additions and 72 deletions
|
|
@ -21,7 +21,7 @@ import { ColumnHeader } from 'mastodon/components/column_header';
|
|||
import { LoadMore } from 'mastodon/components/load_more';
|
||||
import { LoadingIndicator } from 'mastodon/components/loading_indicator';
|
||||
import { RadioButton } from 'mastodon/components/radio_button';
|
||||
import ScrollContainer from 'mastodon/containers/scroll_container';
|
||||
import { ScrollContainer } from 'mastodon/containers/scroll_container';
|
||||
import { useSearchParam } from 'mastodon/hooks/useSearchParam';
|
||||
import { useAppDispatch, useAppSelector } from 'mastodon/store';
|
||||
|
||||
|
|
@ -206,7 +206,6 @@ export const Directory: React.FC<{
|
|||
/>
|
||||
|
||||
{multiColumn && !pinned ? (
|
||||
// @ts-expect-error ScrollContainer is not properly typed yet
|
||||
<ScrollContainer scrollKey='directory'>
|
||||
{scrollableArea}
|
||||
</ScrollContainer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue