From 6b61f3d63b381530d2994e17f1a06cbccb47f62f Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Thu, 9 Feb 2023 09:43:31 +0100 Subject: [PATCH] Fix typo --- packages/block-editor/src/hooks/typography.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/hooks/typography.js b/packages/block-editor/src/hooks/typography.js index f0350f519bb889..a5aac0cb2d3127 100644 --- a/packages/block-editor/src/hooks/typography.js +++ b/packages/block-editor/src/hooks/typography.js @@ -52,7 +52,7 @@ function TypographyInspectorControl( { children } ) { ); } -function useBLockSettings( name ) { +function useBlockSettings( name ) { const fontFamilies = useSetting( 'typography.fontFamilies' ); const fontSizes = useSetting( 'typography.fontSizes' ); const customFontSize = useSetting( 'typography.customFontSize' ); @@ -103,7 +103,7 @@ export function TypographyPanel( { attributes, setAttributes, } ) { - const settings = useBLockSettings( name ); + const settings = useBlockSettings( name ); const isEnabled = useHasTypographyPanel( settings ); const value = useMemo( () => { return {