summaryrefslogtreecommitdiff
path: root/src/routes/account/cards/create.tsx
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-22 21:18:20 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-22 21:18:20 -0600
commit21508a3514500f8f38ddaa8bef7a9cd420d76628 (patch)
treee416d58752154f7cbe78a96c1fbe35dd34a8703f /src/routes/account/cards/create.tsx
parentb5885b23a8d3593428334683b8c03075ce071f3a (diff)
Añade carrito
Diffstat (limited to 'src/routes/account/cards/create.tsx')
-rw-r--r--src/routes/account/cards/create.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/routes/account/cards/create.tsx b/src/routes/account/cards/create.tsx
new file mode 100644
index 0000000..9779ef2
--- /dev/null
+++ b/src/routes/account/cards/create.tsx
@@ -0,0 +1,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>
+ );
+} \ No newline at end of file