Skip to content

Commit b7e3e13

Browse files
committed
Reduce default scroll speed in ScrollBottomButton
The default scroll speed in the ScrollBottomButton component has been decreased from 30000ms to 25000ms. This adjustment provides a faster interaction experience for users. The rest of the component's functionality remains unchanged.
1 parent e437873 commit b7e3e13

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 = 30000, className = '', text = 'play', isDisabled = false } = props;
16+
const { speedInMs = 25000, className = '', text = 'play', isDisabled = false } = props;
1717

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

0 commit comments

Comments
 (0)