diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index a71c34ed..48d7ce4f 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -2,7 +2,13 @@ import './notifications.css'; import { useIdle } from '@uidotdev/usehooks'; import { memo } from 'preact/compat'; -import { useCallback, useEffect, useRef, useState } from 'preact/hooks'; +import { + useCallback, + useEffect, + useLayoutEffect, + useRef, + useState, +} from 'preact/hooks'; import { useSearchParams } from 'react-router-dom'; import { useSnapshot } from 'valtio';