Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 9, 2023
1 parent c03f245 commit df46199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/hooks/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit df46199

Please sign in to comment.