From 2ea015c5042d67f187a7ea5b70c2fdecf0c6619b Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 29 Jun 2025 17:26:25 -0700 Subject: [PATCH] Avoid Redux dev tools warning --- packages/webamp/CHANGELOG.md | 1 + packages/webamp/js/store.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/webamp/CHANGELOG.md b/packages/webamp/CHANGELOG.md index a36d970f..f5b607ff 100644 --- a/packages/webamp/CHANGELOG.md +++ b/packages/webamp/CHANGELOG.md @@ -15,6 +15,7 @@ ### Bug Fixes - Fix bug where resizing the window such that the current layout cannot fit on the page, while also scrolled down the page, would cause the layout to be recentered out of view. +- Avoid a console log from Redux Dev Tools. ## 2.1.2 [CURRENT] diff --git a/packages/webamp/js/store.ts b/packages/webamp/js/store.ts index d52ff505..f11f4fe9 100644 --- a/packages/webamp/js/store.ts +++ b/packages/webamp/js/store.ts @@ -22,7 +22,10 @@ import { // TODO: Move to demo const compose = composeWithDevTools({ - actionsBlacklist: [UPDATE_TIME_ELAPSED, STEP_MARQUEE], + // @ts-ignore A previous name of this was `actionsBlacklist`, but it was + // renamed to `actionsDenylist` in Redux 4.1.0 but I'd rather not upgrade the + // types. + actionsDenylist: [UPDATE_TIME_ELAPSED, STEP_MARQUEE], }); export default function createWebampStore(