Skip to content

Commit 73f8a2f

Browse files
committed
Fixed typo after running eslint and it changed WordPressThemeContext
1 parent d7146e3 commit 73f8a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/blocks/src/components/WordPressBlocksProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function useBlocksTheme(): BlocksTheme {
7272
// If it's an empty object, the provider hasn't been initialized.±
7373
if (
7474
typeof WordPressBlocksContext === 'undefined' ||
75-
typeof WordPressBlocksContext === 'undefined'
75+
typeof WordPressThemeContext === 'undefined'
7676
) {
7777
throw new Error(
7878
'useBlocksTheme hook was called outside of context, make sure your app is wrapped with WordPressBlocksProvider',

0 commit comments

Comments
 (0)