Skip to content

Commit

Permalink
fix copy-paste mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
lourot committed Nov 20, 2023
1 parent a2e447f commit d4b66de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function executeOnBeforeRenderAndDataHooks(
return
}
const onBeforeRenderHook = getHook(pageContext, 'onBeforeRender')
const dataHook = getHook(pageContext, 'onBeforeRender')
const dataHook = getHook(pageContext, 'data')
if (!onBeforeRenderHook && !dataHook) {
return
}
Expand Down

0 comments on commit d4b66de

Please sign in to comment.