fix: remove pagination from friends endpoints since it is no longer supported
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { dt } from "@/lib/dt"
|
||||
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
import styles from "./mobile.module.css"
|
||||
|
||||
import type { TableProps } from "@/types/components/myPages/myPage/earnAndBurn"
|
||||
|
||||
export default function MobileTable({ lang, transactions }: TableProps) {
|
||||
const { formatMessage } = useIntl()
|
||||
export default async function MobileTable({ lang, transactions }: TableProps) {
|
||||
const { formatMessage } = await getIntl()
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<table className={styles.table}>
|
||||
@@ -42,9 +41,7 @@ export default function MobileTable({ lang, transactions }: TableProps) {
|
||||
{`${transaction.nights} ${formatMessage({ id: transaction.nights === 1 ? "night" : "nights" })}`}
|
||||
</span>
|
||||
</td>
|
||||
<td
|
||||
className={`${styles.mobileTd} ${styles.transactionPoints}`}
|
||||
>
|
||||
<td className={styles.transactionPoints}>
|
||||
{`${transaction.awardPoints} P`}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user