From 06234ae6c453237e711e8a29d8c8544c441cb227 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 19 Oct 2020 11:23:53 -0300 Subject: [PATCH] Changes to hook --- lib/commerce/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commerce/index.tsx b/lib/commerce/index.tsx index adb0fc37a..3627e3774 100644 --- a/lib/commerce/index.tsx +++ b/lib/commerce/index.tsx @@ -8,7 +8,7 @@ import { } from 'react' import { Fetcher } from './utils/types' -const Commerce = createContext(null) +const Commerce = createContext({}) export type CommerceProps = { children?: ReactNode