More fixes

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-08-18 18:20:59 +02:00
parent 9928b89c8f
commit b11ce2d2e4
7 changed files with 5 additions and 10 deletions

View File

@ -73,7 +73,6 @@ const LocationSearch: React.FC<ILocationSearch> = ({ onSelected }) => {
setLocationIds(ImmutableOrderedSet(locationIds));
})
.catch(noOp);
}, 900, { leading: true, trailing: true }), []);
useEffect(() => {

View File

@ -52,7 +52,6 @@ const ScrollTopButton: React.FC<IScrollTopButton> = ({
setScrolled(scrollTop > threshold);
setScrolledTop(scrollTop <= autoloadThreshold);
}, 150, { trailing: true }), [threshold, autoloadThreshold]);
/** Scroll to top and trigger `onClick`. */