forked from crowetic/commerce
Changes to hook
This commit is contained in:
parent
453b7b54e8
commit
06234ae6c4
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user