Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -27,10 +27,10 @@ export const ScrollTopContainer = as<
|
||||
onVisibilityChange?.(entry.isIntersecting);
|
||||
}
|
||||
},
|
||||
[anchorRef, onVisibilityChange]
|
||||
[anchorRef, onVisibilityChange],
|
||||
),
|
||||
useCallback(() => ({ root: scrollRef?.current }), [scrollRef]),
|
||||
useCallback(() => anchorRef.current, [anchorRef])
|
||||
useCallback(() => anchorRef.current, [anchorRef]),
|
||||
);
|
||||
|
||||
if (onTop) return null;
|
||||
|
||||
Reference in New Issue
Block a user