Skip to content

Commit

Permalink
Use layout if exist for dev 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
efallancy committed Nov 29, 2017
1 parent 2caf191 commit e708a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/cache-dir/component-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ComponentRenderer extends React.Component {

this.state = {
location,
pageResources: loader.getResourcesForPathname(props.location.pathname),
pageResources: loader.getResourcesForPathname(location.pathname),
}
}

Expand Down

0 comments on commit e708a4a

Please sign in to comment.