fix(ui): fix merge issue w/ selectors

This commit is contained in:
psychedelicious 2024-01-06 20:20:40 +11:00
parent 196fb0e014
commit 60815807f9

View File

@ -93,10 +93,10 @@ export const nextPrevImageButtonsSelector = createMemoizedSelector(
? imagesSelectors.selectById(data, prevImageId) ? imagesSelectors.selectById(data, prevImageId)
: undefined; : undefined;
const topImage = topImageId const topImage = topImageId
? selectors.selectById(data, topImageId) ? imagesSelectors.selectById(data, topImageId)
: undefined; : undefined;
const bottomImage = bottomImageId const bottomImage = bottomImageId
? selectors.selectById(data, bottomImageId) ? imagesSelectors.selectById(data, bottomImageId)
: undefined; : undefined;
const imagesLength = images.length; const imagesLength = images.length;