Fixed: Artists posters flickering when width changes repeatedly

(cherry picked from commit 53cf5308931069638c23925596a3fd8aaccc5d98)

Closes #64448
This commit is contained in:
Mark McDowall 2024-01-12 23:17:29 -08:00 committed by Bogdan
commit 9aae065c5d
3 changed files with 18 additions and 3 deletions

View file

@ -1,8 +1,9 @@
import { createSelector } from 'reselect';
import AppState from 'App/State/AppState';
function createDimensionsSelector() {
return createSelector(
(state) => state.app.dimensions,
(state: AppState) => state.app.dimensions,
(dimensions) => {
return dimensions;
}