Merge branch 'notifications-fix' into 'develop'
Fix notifications loading Closes #1040 See merge request soapbox-pub/soapbox-fe!1640
This commit is contained in:
commit
8ed6ea5b54
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ const Notifications = () => {
|
|||
const handleLoadOlder = useCallback(debounce(() => {
|
||||
const last = notifications.last();
|
||||
dispatch(expandNotifications({ maxId: last && last.get('id') }));
|
||||
}, 300, { leading: true }), []);
|
||||
}, 300, { leading: true }), [notifications]);
|
||||
|
||||
const handleScrollToTop = useCallback(debounce(() => {
|
||||
dispatch(scrollTopNotifications(true));
|
||||
|
|
Loading…
Reference in a new issue