diff --git a/src/blocks/interactive/likes-number/view.js b/src/blocks/interactive/likes-number/view.js index 01c53d4..6dbb088 100644 --- a/src/blocks/interactive/likes-number/view.js +++ b/src/blocks/interactive/likes-number/view.js @@ -2,11 +2,6 @@ const { store } = window.__experimentalInteractivity; store({ - state: { - wpmovies: { - likedMovies: [], - }, - }, selectors: { wpmovies: { likesCount: ({ state }) => state.wpmovies.likedMovies.length, diff --git a/src/blocks/interactive/movie-search/view.js b/src/blocks/interactive/movie-search/view.js index 1ec18cd..ddc2875 100644 --- a/src/blocks/interactive/movie-search/view.js +++ b/src/blocks/interactive/movie-search/view.js @@ -11,11 +11,6 @@ const updateURL = async (value) => { }; store({ - state: { - wpmovies: { - searchValue: '', - }, - }, actions: { wpmovies: { updateSearch: async ({ state, event }) => { diff --git a/src/blocks/interactive/video-player/view.js b/src/blocks/interactive/video-player/view.js index 0b99665..ca67822 100644 --- a/src/blocks/interactive/video-player/view.js +++ b/src/blocks/interactive/video-player/view.js @@ -2,11 +2,6 @@ const { store } = window.__experimentalInteractivity; store({ - state: { - wpmovies: { - currentVideo: '', - }, - }, selectors: { wpmovies: { isPlaying: ({ state }) => state.wpmovies.currentVideo !== '',