Skip to content

Commit

Permalink
Add retry button for release notes fetch on About page
Browse files Browse the repository at this point in the history
  • Loading branch information
walidkayhan committed Feb 19, 2025
1 parent 7448bda commit 3fb03b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/src/features/Stats/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ const About = () => {

if (releaseNotes.length === 0) {
return (
<div className="flex items-center justify-center h-full">
<div className="flex flex-col items-center justify-center h-full gap-2">
<p>No release notes found</p>

<Button onClick={fetchReleaseNotes} variant="outline">
Retry
</Button>
</div>
);
}
Expand Down

0 comments on commit 3fb03b0

Please sign in to comment.