diff --git a/src/pages/search.jsx b/src/pages/search.jsx index ff223520..7c4587cb 100644 --- a/src/pages/search.jsx +++ b/src/pages/search.jsx @@ -1,5 +1,6 @@ import './search.css'; +import { useAutoAnimate } from '@formkit/auto-animate/preact'; import { useEffect, useLayoutEffect, useRef, useState } from 'preact/hooks'; import { useHotkeys } from 'react-hotkeys-hook'; import { InView } from 'react-intersection-observer'; @@ -145,6 +146,8 @@ function Search(props) { }, ); + const [filterBarParent] = useAutoAnimate(); + return (