Add ordercloud provider

This commit is contained in:
goncy
2021-09-23 16:28:50 -03:00
parent 66548c887c
commit 40b5e25838
86 changed files with 2425 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { useCallback } from 'react'
type Options = {
includeProducts?: boolean
}
export function emptyHook(options?: Options) {
const useEmptyHook = async ({ id }: { id: string | number }) => {
return useCallback(async function () {
return Promise.resolve()
}, [])
}
return useEmptyHook
}
export default emptyHook