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