diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-07 12:59:56 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-07 12:59:56 +0700 |
| commit | ebba81f144b860eaf3bd7a9ef2b1c63a2ff021e0 (patch) | |
| tree | dbcc68f5c6dd750c41f3b1fbc5c3c2331f58c994 /src/lib/checkout/components/SectionExpedition.tsx | |
| parent | ed0adaad2125b46a6c039ce89b38b3cbb8379342 (diff) | |
get couries biteship
Diffstat (limited to 'src/lib/checkout/components/SectionExpedition.tsx')
| -rw-r--r-- | src/lib/checkout/components/SectionExpedition.tsx | 12 |
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 |
