summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/SectionExpedition.tsx
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-11-07 12:59:56 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-11-07 12:59:56 +0700
commitebba81f144b860eaf3bd7a9ef2b1c63a2ff021e0 (patch)
treedbcc68f5c6dd750c41f3b1fbc5c3c2331f58c994 /src/lib/checkout/components/SectionExpedition.tsx
parented0adaad2125b46a6c039ce89b38b3cbb8379342 (diff)
get couries biteship
Diffstat (limited to 'src/lib/checkout/components/SectionExpedition.tsx')
-rw-r--r--src/lib/checkout/components/SectionExpedition.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/checkout/components/SectionExpedition.tsx b/src/lib/checkout/components/SectionExpedition.tsx
new file mode 100644
index 00000000..d2dd5763
--- /dev/null
+++ b/src/lib/checkout/components/SectionExpedition.tsx
@@ -0,0 +1,12 @@
+import React from 'react';
+import { GetRatesCourierBiteship } from '../api/ExpedisiList';
+import { useQuery } from 'react-query';
+
+export default function SectionExpedition() {
+ let destination = {}
+ let items = {}
+ const fetchExpedition = async () => await GetRatesCourierBiteship({destination, items});
+ const {data : coursers, isLoading} = useQuery('expedition-'+destination, fetchExpedition)
+
+ return <div>SectionExpedition</div>;
+} \ No newline at end of file