Skip to content

Commit

Permalink
fix: drop __renderedByLocation prop when calculating slice props ha…
Browse files Browse the repository at this point in the history
…shes and don't expose it to slice component (#36979)
  • Loading branch information
pieh committed Nov 7, 2022
1 parent cc1ee9b commit 2b5af32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/cache-dir/slice.js
Expand Up @@ -13,6 +13,7 @@ export function Slice(props) {
sliceName: props.alias,
}
delete internalProps.alias
delete internalProps.__renderedByLocation

const slicesContext = useContext(SlicesContext)

Expand Down

0 comments on commit 2b5af32

Please sign in to comment.