Skip to content

Commit

Permalink
Fixed typo after running eslint and it changed WordPressThemeContext
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmurphy committed Dec 23, 2024
1 parent d7146e3 commit 73f8a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/components/WordPressBlocksProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 73f8a2f

Please sign in to comment.