Skip to content

Commit

Permalink
Merge pull request #19 from neorth/optional-course-appearance
Browse files Browse the repository at this point in the history
Set default value on courseAppearance
  • Loading branch information
perliedman authored Oct 5, 2022
2 parents 29b4eb2 + 18e235b commit 36e8df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/course-feature-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function useStyle(
layer,
featuresRef,
objScale,
courseAppearance,
courseAppearance = {},
courseOverPrintColor = courseOverPrintRgb,
styleWrapper
) {
Expand Down

0 comments on commit 36e8df2

Please sign in to comment.