Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Aug 31, 2020
1 parent f2810cf commit 793403d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,22 +104,22 @@ export default ( { identifier, title, icon } ) => {
}

/* Global Context */
const { supports, name } = contexts[ GLOBAL_CONTEXT ];
const { supports, blockName } = contexts[ GLOBAL_CONTEXT ];
return [
<TypographyPanel
key={ 'typography-panel-' + name }
key={ 'typography-panel-' + blockName }
context={ {
supports,
name,
name: blockName,
} }
getProperty={ getProperty }
setProperty={ setProperty }
/>,
<ColorPanel
key={ 'color-panel-' + name }
key={ 'color-panel-' + blockName }
context={ {
supports,
name,
name: blockName,
} }
getProperty={ getProperty }
setProperty={ setProperty }
Expand Down

0 comments on commit 793403d

Please sign in to comment.