From 73f8a2f3bdc6ba3a2e8c4c4506886865935f9034 Mon Sep 17 00:00:00 2001 From: Colin Murphy Date: Mon, 23 Dec 2024 08:41:01 +0000 Subject: [PATCH] Fixed typo after running eslint and it changed WordPressThemeContext --- packages/blocks/src/components/WordPressBlocksProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blocks/src/components/WordPressBlocksProvider.tsx b/packages/blocks/src/components/WordPressBlocksProvider.tsx index 461eb0d79..f117189e6 100644 --- a/packages/blocks/src/components/WordPressBlocksProvider.tsx +++ b/packages/blocks/src/components/WordPressBlocksProvider.tsx @@ -72,7 +72,7 @@ export function useBlocksTheme(): BlocksTheme { // If it's an empty object, the provider hasn't been initialized.± if ( typeof WordPressBlocksContext === 'undefined' || - typeof WordPressBlocksContext === 'undefined' + typeof WordPressThemeContext === 'undefined' ) { throw new Error( 'useBlocksTheme hook was called outside of context, make sure your app is wrapped with WordPressBlocksProvider',