Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Change ID of the store script
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Jul 18, 2023
1 parent 8c5f4a4 commit 420fce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const deepMerge = (target, source) => {
const getSerializedState = () => {
// TODO: change the store tag ID for a better one.
const storeTag = document.querySelector(
`script[type="application/json"]#store`
`script[type="application/json"]#wp-interactivity-store-data`
);
if (!storeTag) return {};
try {
Expand Down

0 comments on commit 420fce4

Please sign in to comment.