Skip to content

Commit

Permalink
fix: #1130, use gradesObj in TickButton instead of deprecated yds p…
Browse files Browse the repository at this point in the history
…roperty (#1193)

* fix: #1130, use gradesObj in TickButton instead of deprecated `yds` property

* fix: make this work for boulders too
  • Loading branch information
julianlam authored Nov 8, 2024
1 parent 4f4c7ba commit 7b8099f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/climbs/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ const ClimbData: React.FC<{

{!editMode && (
<div className='mt-8'>
<TickButton climbId={climbId} name={name} grade={yds} />
<TickButton climbId={climbId} name={name} grade={gradesObj.toString()} />
</div>
)}
</div>
Expand Down

0 comments on commit 7b8099f

Please sign in to comment.