Skip to content

Commit

Permalink
Update index.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Weile-Zheng authored Sep 15, 2024
1 parent 64e1d5a commit 2158fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function Factbox({ fact, closer }) {
if (entry.isIntersecting) {
const element = entry.target;
const target = +element.getAttribute("data-target");
const increment = target / 250; // Adjust this value to control the speed
const increment = target / 50; // Adjust this value to control the speed
let count = 0;

const updateCount = () => {
Expand Down

0 comments on commit 2158fde

Please sign in to comment.