summaryrefslogtreecommitdiff
path: root/src/routes/account/cards/create.tsx
blob: 9779ef242f30c89b2733c882ffdf526ce94fc175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { useActionData } from "react-router-dom";
import CardForm from "../../../components/forms/card_form";
import MainContentLayout from "../../../components/main_content_layout";

export function Create() {
  const errors = useActionData();

  return (
    <MainContentLayout>
      <div className="w-4/5 my-6">
        <h1 className="my-6 text-3xl">
          Nuevo método de pago
        </h1>
        <CardForm errors={errors}/>
      </div>
    </MainContentLayout>
  );
}