Skip to content

Commit

Permalink
fix : TimePicker colorIndex 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
keemsebin committed Sep 27, 2024
1 parent 1d8f30e commit c217316
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const TimeBoxSelector = styled.div<{
if (props.intensity > 0) {
const baseIndex = 10 - props.totalPeopleNum;
const colorIndex = 10 - baseIndex + props.intensity;
return intensityColors[colorIndex];
return intensityColors[colorIndex - 1];
}
if (props.isSelected) return colors.purple;
return colors.GY6;
Expand Down

0 comments on commit c217316

Please sign in to comment.