Skip to content

Commit

Permalink
Query Filter: Use viewScriptModule key.
Browse files Browse the repository at this point in the history
The viewModule key was renamed to viewScriptModule. This also removes some unnecessary debugging code.
  • Loading branch information
ryelle committed Feb 15, 2024
1 parent fc7b743 commit 9de3e78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion mu-plugins/blocks/query-filter/src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"editorScript": "file:./index.js",
"style": "file:./style-index.css",
"viewModule": "file:./view.js",
"viewScriptModule": "file:./view.js",
"render": "file:../render.php"
}
2 changes: 0 additions & 2 deletions mu-plugins/blocks/query-filter/src/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const focusableSelectors = [
];

const { actions } = store( 'wporg/query-filter', {
// Need to add real code to bump the version hash.
CACHEBUSTER: 20240201,
actions: {
/**
* Toggles the overflow-x style of the query filter between 'hidden' and 'scroll'.
Expand Down

0 comments on commit 9de3e78

Please sign in to comment.