Skip to content

Commit

Permalink
climbing: Heatmap by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik committed Feb 25, 2024
1 parent 3751141 commit 930addd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const ClimbingContextProvider = ({ children, feature }: Props) => {
const [isPointMoving, setIsPointMoving] = useState<boolean>(false);
const [isPointClicked, setIsPointClicked] = useState<boolean>(false);
const [isDifficultyHeatmapEnabled, setIsDifficultyHeatmapEnabled] =
useState<boolean>(false);
useState<boolean>(true);
const [areRoutesVisible, setAreRoutesVisible] = useState<boolean>(true);
const [areRoutesLoading, setAreRoutesLoading] = useState<boolean>(true);
const [arePointerEventsDisabled, setArePointerEventsDisabled] =
Expand Down
2 changes: 1 addition & 1 deletion src/components/FeaturePanel/Climbing/utils/routeGrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const getDifficultyColor = (
gradeTable: GradeTable,
difficulty: RouteDifficulty,
) => {
const DEFAULT_COLOR = 'black';
const DEFAULT_COLOR = '#555';
if (!difficulty) return DEFAULT_COLOR;

const uiaaGrade =
Expand Down

0 comments on commit 930addd

Please sign in to comment.