Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo
  • Loading branch information
youknowriad committed Feb 14, 2023
commit 732e14ec20087b226f3405555dc34eb43c7378df
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