mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 13:41:22 +00:00
Changes to hook
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
} from 'react'
|
||||
import { Fetcher } from './utils/types'
|
||||
|
||||
const Commerce = createContext<CommerceContextValue | null>(null)
|
||||
const Commerce = createContext<CommerceContextValue | {}>({})
|
||||
|
||||
export type CommerceProps = {
|
||||
children?: ReactNode
|
||||
|
Reference in New Issue
Block a user