Show placeholder message for /chechout and adjust api fetcher type

This commit is contained in:
tniezg
2021-08-18 17:53:53 +02:00
parent 3b3a181dac
commit 17f8d497b8
7 changed files with 96 additions and 10 deletions

View File

@@ -63,7 +63,9 @@ export default function getProductOperation({
const {
data: { data: spreeSuccessResponse },
} = await apiFetch<{ data: IProduct }>('__UNUSED__', { variables })
} = await apiFetch<{ data: IProduct }, SpreeSdkVariables>('__UNUSED__', {
variables,
})
return {
product: normalizeProduct(