Skip to content

Commit

Permalink
fix: restore missing props on Choose Language page
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Dec 9, 2023
1 parent 1e10ba2 commit cd4178d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sites/public/src/pages/applications/start/choose-language.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { useGetApplicationStatusProps } from "../../../lib/hooks"
import { UserStatus } from "../../../lib/constants"
import ApplicationFormLayout from "../../../layouts/application-form"
import styles from "../../../layouts/application-form.module.scss"
import { runtimeConfig } from "../../../lib/runtime-config"

const loadListing = async (
backendApiBase,
Expand Down Expand Up @@ -196,3 +197,11 @@ const ApplicationChooseLanguage = (props: ChooseLanguageProps) => {
}

export default ApplicationChooseLanguage

export function getServerSideProps() {
const backendApiBase = runtimeConfig.getBackendApiBase()

return {
props: { backendApiBase: backendApiBase },
}
}

0 comments on commit cd4178d

Please sign in to comment.