import { getIntl } from "@/i18n"

import styles from "./expiringPoints.module.css"

export async function ExpiringPoints() {
  const { formatMessage } = await getIntl()
  return (
    <table className={styles.table}>
      <thead className={styles.thead}>
        <tr>
          <th className={styles.th}>{formatMessage({ id: "Arrival date" })}</th>
          <th className={styles.th}>{formatMessage({ id: "Points" })}</th>
        </tr>
      </thead>
      <tbody>
        <tr className={styles.tr}>
          <td className={styles.td}>23 May 2023</td>
          <td className={styles.td}>30000</td>
        </tr>
        <tr className={styles.tr}>
          <td className={styles.td}>23 May 2023</td>
          <td className={styles.td}>-15000</td>
        </tr>
      </tbody>
    </table>
  )
}
