fix: progres slide count

This commit is contained in:
Ephraim Atta-Duncan
2024-05-23 11:44:03 +00:00
parent 7fa3069d8c
commit 76e6adcf59

View File

@ -177,7 +177,7 @@ export const Carousel = () => {
<div className="absolute bottom-2 right-2 flex w-[5%] flex-col items-center space-y-1 rounded-lg bg-white p-1.5">
<span className="text-foreground text-xs">
{selectedIndex + 1}/{slides.length + 1}
{selectedIndex + 1}/{slides.length}
</span>
<Progress value={progress} className="h-1" />
</div>