Skip to content

Commit

Permalink
app: Fix new version tag in notes modal
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Feb 11, 2021
1 parent 5eb32c0 commit bb52c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/hooks/useReleaseModal.tsx
Expand Up @@ -172,7 +172,7 @@ function renderChangelog(changelogMd: string, {hideUnreleased = false}: Options
const isNewVersion =
!isUnreleaseRelease &&
mostCurrentVersionIndex !== undefined &&
mostCurrentVersionIndex < headingIndex;
mostCurrentVersionIndex > headingIndex;

const releaseNotesHtml = unified()
.use(markdown)
Expand Down

0 comments on commit bb52c3d

Please sign in to comment.