Skip to content

Commit

Permalink
Merge pull request #210 from gshrikant/bugfix/delete-leading-1-from-h…
Browse files Browse the repository at this point in the history
…p-display

StepHitPoints: Remove leading '1' from the hitpoints edit display
  • Loading branch information
gvorbeck authored Jan 15, 2024
2 parents b9f7bd9 + 683edde commit 9385bdc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const StepHitPoints: React.FC<
<Space.Compact>
<InputNumber value={max} />
<Button onClick={handleButtonClick}>
Roll 1{character.hp.dice}
Roll&nbsp;{character.level === 1 && "1"}
{character.hp.dice}
{character.abilities.modifiers.constitution}
</Button>
</Space.Compact>
Expand Down

0 comments on commit 9385bdc

Please sign in to comment.