From 60815807f9471db8e81934e573b66ddb8479cca5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 6 Jan 2024 20:20:40 +1100 Subject: [PATCH] fix(ui): fix merge issue w/ selectors --- .../web/src/features/gallery/hooks/useNextPrevImage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/gallery/hooks/useNextPrevImage.ts b/invokeai/frontend/web/src/features/gallery/hooks/useNextPrevImage.ts index a5c613f80e..ede9004516 100644 --- a/invokeai/frontend/web/src/features/gallery/hooks/useNextPrevImage.ts +++ b/invokeai/frontend/web/src/features/gallery/hooks/useNextPrevImage.ts @@ -93,10 +93,10 @@ export const nextPrevImageButtonsSelector = createMemoizedSelector( ? imagesSelectors.selectById(data, prevImageId) : undefined; const topImage = topImageId - ? selectors.selectById(data, topImageId) + ? imagesSelectors.selectById(data, topImageId) : undefined; const bottomImage = bottomImageId - ? selectors.selectById(data, bottomImageId) + ? imagesSelectors.selectById(data, bottomImageId) : undefined; const imagesLength = images.length;