summaryrefslogtreecommitdiff
path: root/src/pages/shop/checkout.js
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-01-24 15:54:48 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-01-24 15:54:48 +0700
commitee4297280c1305c7e03bedd4df63ccf136c28c6c (patch)
tree62eb00777f42542a37c63687dd1536f8f56df894 /src/pages/shop/checkout.js
parent23b31aa10302cc990f3fb083b8189233b2e9e08d (diff)
Merapihkan struktur folder
Diffstat (limited to 'src/pages/shop/checkout.js')
-rw-r--r--src/pages/shop/checkout.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/pages/shop/checkout.js b/src/pages/shop/checkout.js
index 0f9619cf..1849e0fe 100644
--- a/src/pages/shop/checkout.js
+++ b/src/pages/shop/checkout.js
@@ -1,22 +1,22 @@
import { ExclamationCircleIcon } from "@heroicons/react/24/solid";
import { useEffect, useState } from "react";
-import Alert from "../../components/Alert";
-import AppBar from "../../components/AppBar";
-import Image from "../../components/Image";
-import Layout from "../../components/Layout";
-import LineDivider from "../../components/LineDivider";
-import Link from "../../components/Link";
-import ProgressBar from "../../components/ProgressBar";
-import Spinner from "../../components/Spinner";
-import apiOdoo from "../../helpers/apiOdoo";
-import { useAuth } from "../../helpers/auth";
-import { deleteItemCart, getCart } from "../../helpers/cart";
-import currencyFormat from "../../helpers/currencyFormat";
-import { getItemAddress } from "../../helpers/address";
+import Alert from "@/components/elements/Alert";
+import AppBar from "@/components/layouts/AppBar";
+import Image from "@/components/elements/Image";
+import Layout from "@/components/layouts/Layout";
+import LineDivider from "@/components/elements/LineDivider";
+import Link from "@/components/elements/Link";
+import ProgressBar from "@/components/elements/ProgressBar";
+import Spinner from "@/components/elements/Spinner";
+import apiOdoo from "@/core/utils/apiOdoo";
+import { useAuth } from "@/core/utils/auth";
+import { deleteItemCart, getCart } from "@/core/utils/cart";
+import currencyFormat from "@/core/utils/currencyFormat";
+import { getItemAddress } from "@/core/utils/address";
import { useRouter } from "next/router";
-import WithAuth from "../../components/WithAuth";
+import WithAuth from "@/components/auth/WithAuth";
import { toast } from "react-hot-toast";
-import getFileBase64 from "../../helpers/getFileBase64";
+import getFileBase64 from "@/core/utils/getFileBase64";
export default function Checkout() {
const router = useRouter();