Skip to content

Commit e437873

Browse files
committed
Adjust default scroll speed in ScrollBottomButton
The default scroll speed has been changed from 50000ms to 30000ms in the ScrollBottomButton component. This update ensures a more responsive user experience by accelerating the scrolling action.
1 parent fd51386 commit e437873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend-next-migration/src/features/ScrollBottom/ui/ScrollBottomButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface Props {
1313
}
1414

1515
const ScrollBottomButtonComponent = (props: Props) => {
16-
const { speedInMs = 50000, className = '', text = 'play', isDisabled = false } = props;
16+
const { speedInMs = 30000, className = '', text = 'play', isDisabled = false } = props;
1717

1818
const ScrollButtonId = 'ScrollButton';
1919
const animationFrameIdRef = useRef<number>(0);

0 commit comments

Comments
 (0)