feat(WEB-220): label translations
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import { _ } from "@/lib/translation"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
import styles from "./expiringPoints.module.css"
|
||||
|
||||
export function ExpiringPoints() {
|
||||
export async function ExpiringPoints() {
|
||||
const { formatMessage } = await getIntl()
|
||||
return (
|
||||
<table className={styles.table}>
|
||||
<thead className={styles.thead}>
|
||||
<tr>
|
||||
<th className={styles.th}>{_("Arrival date")}</th>
|
||||
<th className={styles.th}>{_("Points")}</th>
|
||||
<th className={styles.th}>{formatMessage({ id: "Arrival date" })}</th>
|
||||
<th className={styles.th}>{formatMessage({ id: "Points" })}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user