Skip to content

Commit

Permalink
Directly access the object variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Apr 24, 2018
1 parent 82bdfb5 commit d64f40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-data/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ export function getPostType( state, slug ) {
* @return {Mixed?} Index data.
*/
export function getThemeSupports( state ) {
return state.indexData[ 'theme_supports' ];
return state.indexData.theme_supports;
}

0 comments on commit d64f40a

Please sign in to comment.