nicolium: migrate notifications to tanstack/react-query
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -38,7 +38,7 @@ const ScrollTopButton: React.FC<IScrollTopButton> = ({
|
||||
// Whether we are scrolled above the `autoloadThreshold`.
|
||||
const [scrolledTop, setScrolledTop] = useState<boolean>(false);
|
||||
|
||||
const visible = count > 0 && (autoloadThreshold ? scrolled : scrolledTop);
|
||||
const visible = count > 0 && (!autoloadTimelines || scrolled);
|
||||
const buttonMessage = intl.formatMessage(message, { count });
|
||||
|
||||
/** Number of pixels scrolled down from the top of the page. */
|
||||
|
||||
Reference in New Issue
Block a user