選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.js 389B

12345678910111213141516
  1. import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
  2. import CartContent from '../../components/cart-content/CartContent';
  3. const CartPage = () => {
  4. return <CartContent></CartContent>;
  5. };
  6. export async function getStaticProps({ locale }) {
  7. return {
  8. props: {
  9. ...(await serverSideTranslations(locale, ['cart'])),
  10. },
  11. };
  12. }
  13. export default CartPage;