fix(lint): use return undefined for consistent-return in useEffect

This commit is contained in:
Evie Gauthier committed 2026-03-16 15:16:54 -04:00
1 parent 0e21656451
commit 293dee7b34
1 file changed
+1 -1
@@ -252,7 +252,7 @@ export const UrlPreviewHolder = as<'div'>(({ children, ...props }, ref) => {
useEffect(() => {
const scroll = scrollRef.current;
if (!scroll) return;
if (!scroll) return undefined;
updateArrows();
scroll.addEventListener('scroll', updateArrows, { passive: true });