Skip to content

Commit

Permalink
ui: User preferences icon and release notes viewer bugfix (#2694)
Browse files Browse the repository at this point in the history
* ReleaseNotes viewer bugfix

* Fixed Button text color
  • Loading branch information
manojVivek authored Mar 7, 2023
1 parent 501bf54 commit 9cd53ec
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 @@ -36,7 +36,7 @@ const ReleaseNotesViewer = ({version}: Props) => {
return;
}
const release = await fetch(
`https://api.github.com/repos/parca-dev/parca/releases/tags/${version}`
`https://api.github.com/repos/parca-dev/parca/releases/tags/v${version}`
).then(res => res.json());
setReleaseNotes(
`Here's the list of changes in this release:\n${release.body
Expand Down
2 changes: 1 addition & 1 deletion ui/packages/shared/components/src/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Button = ({
className={cx(
disabled ? 'opacity-50 pointer-events-none' : '',
...Object.values(BUTTON_VARIANT[variant]),
'cursor-pointer group relative w-full flex text-sm rounded-md text-white focus:outline-none focus:ring-2 focus:ring-offset-2 items-center justify-center',
'cursor-pointer group relative w-full flex text-sm rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 items-center justify-center',
className
)}
disabled={disabled}
Expand Down

0 comments on commit 9cd53ec

Please sign in to comment.