Skip to content

Commit 19e18a6

Browse files
efallancyKyleAMathews
authored andcommitted
Use layout if exist for dev 404 page (#3060)
1 parent 48d7eab commit 19e18a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/cache-dir/component-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ComponentRenderer extends React.Component {
2323

2424
this.state = {
2525
location,
26-
pageResources: loader.getResourcesForPathname(props.location.pathname),
26+
pageResources: loader.getResourcesForPathname(location.pathname),
2727
}
2828
}
2929

0 commit comments

Comments
 (0)