Skip to content

Commit

Permalink
update personalization to not recalculate
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoodric committed Jun 7, 2024
1 parent 5813c8a commit 24eeb9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/features/personalization/personalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,12 +826,10 @@ export async function applyPers(manifests, postLCP = false) {
const {
mep: mepParam,
mepHighlight,
mepButton,
} = Object.fromEntries(PAGE_URL.searchParams);
config.mep = {
handleFragmentCommand,
preview: (mepButton !== 'off'
&& (config.env?.name !== 'prod' || mepParam || mepParam === '' || mepButton)),
preview: config.mep?.preview,
override: mepParam ? decodeURIComponent(mepParam) : '',
highlight: (mepHighlight !== undefined && mepHighlight !== 'false'),
mepParam,
Expand Down

0 comments on commit 24eeb9a

Please sign in to comment.