Skip to content

Commit

Permalink
chore(hint): update content and close banner when clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo committed Apr 20, 2023
1 parent d0415c5 commit 45ab638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion locales/en/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"HELP": "Help",
"QUICKSTARTS": "Quick Starts"
},
"HINT_BANNER": "Welcome to Cryostat! To get started, please visit <l>quickstarts</l>!"
"HINT_BANNER": "Welcome to Cryostat! To get started, please visit <l>Quick Starts</l>!"
},
"AutomatedAnalysisCard": {
"CARD_DESCRIPTION": "Assess common application performance and configuration issues.",
Expand Down
2 changes: 1 addition & 1 deletion src/app/AppLayout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ const AppLayout: React.FC<AppLayoutProps> = ({ children }) => {
<Trans
t={t}
components={{
l: <Link to={'/quickstarts'} />,
l: <Link to={'/quickstarts'} onClick={handleCloseBanner} />,
}}
>
AppLayout.HINT_BANNER
Expand Down

0 comments on commit 45ab638

Please sign in to comment.