Skip to content

Commit

Permalink
Use a dedicated string for instant launch standalone page, remove dev…
Browse files Browse the repository at this point in the history
…-mode workaround
  • Loading branch information
ianmcorvidae committed Oct 10, 2024
1 parent 2133426 commit b49036a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/static/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"help": "Help",
"home": "Home",
"instantLaunches": "Instant Launches",
"instantLaunch": "Instant Launch",
"interactiveAnalysisUrl": "{{message}}. Access your running analysis here.",
"intercomAriaLabel": "Chat with CyVerse support",
"learnMore": "Learn More",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/instantlaunch/[id]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function InstantLaunch() {
}

export async function getServerSideProps({ locale }) {
const title = i18n?.t("instantLaunches") || "";
const title = i18n.t("instantLaunch");

return {
props: {
Expand Down

0 comments on commit b49036a

Please sign in to comment.