feat: improve instantiation of intl
This commit is contained in:
@@ -14,8 +14,6 @@ import { getIntl } from "@/i18n"
|
||||
|
||||
import { SASModal } from "../components/SASModal"
|
||||
|
||||
import type { FormatXMLElementFn } from "intl-messageformat"
|
||||
|
||||
import type { LangParams, PageArgs, SearchParams } from "@/types/params"
|
||||
import type { State } from "../sasUtils"
|
||||
|
||||
@@ -82,10 +80,7 @@ export default async function SASxScandicLoginPage({
|
||||
</p>
|
||||
</Typography>
|
||||
<Footnote textAlign="center">
|
||||
{intl.formatMessage<
|
||||
React.ReactNode,
|
||||
FormatXMLElementFn<React.ReactNode>
|
||||
>(
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "If you are not redirected automatically, please <loginLink>click here</loginLink>.",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user