12 lines
338 B
TypeScript
12 lines
338 B
TypeScript
/* eslint-disable formatjs/enforce-description */
|
|
/* eslint-disable formatjs/enforce-default-message */
|
|
/* eslint-disable formatjs/no-id */
|
|
|
|
import { getIntl } from "@/i18n"
|
|
|
|
export default async function ServerComponentWithIntl() {
|
|
const intl = await getIntl()
|
|
|
|
return <h1>{intl.formatMessage({ id: "some value goes here" })}</h1>
|
|
}
|