From 8a7798d4d69de4deba2d052aa585f66d03ada8de Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Sun, 4 Oct 2020 19:46:43 -0500 Subject: [PATCH] Make locale required --- components/core/Layout/Layout.tsx | 2 +- lib/bigcommerce/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/core/Layout/Layout.tsx b/components/core/Layout/Layout.tsx index 4c5861842..f66a2ef4d 100644 --- a/components/core/Layout/Layout.tsx +++ b/components/core/Layout/Layout.tsx @@ -37,7 +37,7 @@ const CoreLayout: FC = ({ className, children }) => { } const Layout: FC = (props) => ( - + diff --git a/lib/bigcommerce/index.tsx b/lib/bigcommerce/index.tsx index 7086812ec..472ba6d36 100644 --- a/lib/bigcommerce/index.tsx +++ b/lib/bigcommerce/index.tsx @@ -45,6 +45,7 @@ export type BigcommerceConfig = Partial export type BigcommerceProps = { children?: ReactNode + locale: string } & BigcommerceConfig export function CommerceProvider({ children, ...config }: BigcommerceProps) {