mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
Show placeholder message for /chechout and adjust api fetcher type
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user