mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Touch up footer.
This commit is contained in:
parent
05f01cd09e
commit
3fc5f5151b
5 changed files with 26 additions and 29 deletions
|
|
@ -19,7 +19,7 @@ export default function useSticky({ scrollElement = document, defaultSticky = fa
|
|||
return () => {
|
||||
scrollElement.removeEventListener('scroll', handleScroll, true);
|
||||
};
|
||||
}, [ref, setIsSticky]);
|
||||
}, [ref, setIsSticky, scrollElement]);
|
||||
|
||||
return { ref, isSticky };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue