save before rebase

This commit is contained in:
Reza Babaei
2021-09-18 00:48:20 +03:00
parent 9c8a78360d
commit 91ea63bff8
6 changed files with 94 additions and 42 deletions

View File

@@ -23,7 +23,7 @@ export async function getStaticProps({
preview,
})
const allProductsPromise = commerce.getAllProducts({
const allProductsPromise = await commerce.getAllProducts({
variables: { first: 4 },
config,
preview,