diff --git a/invokeai/frontend/web/src/features/parameters/components/ImageSize/AspectRatioPreview.tsx b/invokeai/frontend/web/src/features/parameters/components/ImageSize/AspectRatioPreview.tsx index dcef435c39..4825d73bb5 100644 --- a/invokeai/frontend/web/src/features/parameters/components/ImageSize/AspectRatioPreview.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/ImageSize/AspectRatioPreview.tsx @@ -1,10 +1,13 @@ import { Flex } from '@invoke-ai/ui-library'; import { StageComponent } from 'features/regionalPrompts/components/StageComponent'; +import { memo } from 'react'; -export const AspectRatioPreview = () => { +export const AspectRatioPreview = memo(() => { return ( - + ); -}; +}); + +AspectRatioPreview.displayName = 'AspectRatioPreview';