порядок упражнений по индексу
This commit is contained in:
parent
6fbaf47905
commit
c1f907e0a1
@ -175,7 +175,7 @@ export const CourseExercises = () => {
|
||||
className="p-4 mb-4 cursor-pointer hover:scale-105 transition duration-300 glass-morphism rounded-3xl border border-white/50 shadow-2xl overflow-hidden backdrop-blur-2xl relative">
|
||||
<div className="flex justify-between items-center">
|
||||
<div>
|
||||
<h3 className="text-sm font-semibold">Упражнение {item.position}</h3>
|
||||
<h3 className="text-sm font-semibold">Упражнение {++index}</h3>
|
||||
<h3 className="text-xl font-semibold text-gray-600">{item.exercise.title}</h3>
|
||||
</div>
|
||||
|
||||
|
@ -411,7 +411,7 @@ export const Exercise = () => {
|
||||
</button>
|
||||
|
||||
|
||||
<button
|
||||
{/* <button
|
||||
onClick={() => {
|
||||
|
||||
const newSet = Math.min(currentSet + 1, totalSets);
|
||||
@ -431,7 +431,7 @@ export const Exercise = () => {
|
||||
className="w-6 h-6"
|
||||
|
||||
/>
|
||||
</button>
|
||||
</button> */}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user