Skip to content

Commit

Permalink
fix(frontend): increase timeout for focusing on exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Sep 5, 2024
1 parent 938fc14 commit 5eb6a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/app/routes/_dashboard.fitness.$action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ const focusOnExercise = (idx: number) => {
setTimeout(() => {
const exercise = document.getElementById(idx.toString());
exercise?.scrollIntoView({ behavior: "smooth" });
});
}, 800);
};

const ExerciseDisplay = (props: {
Expand Down

0 comments on commit 5eb6a15

Please sign in to comment.