1
0
mirror of https://github.com/vercel/commerce.git synced 2025-03-27 07:45:53 +00:00
Peter Mekhaeil 300d04c1ac
Shopify Provider ()
* Start of Shopify provider

* add missing comment to documentation

* add missing env vars to documentation

* update reference to types file
2021-02-12 11:14:16 -03:00

14 lines
256 B
TypeScript

import { useCallback } from 'react'
export function emptyHook() {
const useEmptyHook = async (options = {}) => {
return useCallback(async function () {
return Promise.resolve()
}, [])
}
return useEmptyHook
}
export default emptyHook