Skip to content

Commit

Permalink
chore: let's make it five seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
N3TC4T committed Oct 31, 2024
1 parent a34a41f commit d717f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/General/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import styles from './styles';

/* Constants ==================================================================== */
const FLOAT_EPSILON = 2 ** -23;
const AUTO_SCROLL_INTERVAL = 3000; // 3s
const AUTO_SCROLL_INTERVAL = 5000; // 5s

function equal(a: number, b: number) {
return Math.abs(a - b) <= FLOAT_EPSILON * Math.max(Math.abs(a), Math.abs(b));
Expand Down

0 comments on commit d717f6a

Please sign in to comment.