@@ -17,10 +17,7 @@ import {
1717 zFluxKontextAspectRatioID ,
1818 zGemini2_5AspectRatioID ,
1919 zImagen3AspectRatioID ,
20- zRunwayAspectRatioID ,
21- zVeo3AspectRatioID ,
2220} from 'features/controlLayers/store/types' ;
23- import { selectIsRunway , selectIsVeo3 } from 'features/parameters/store/videoSlice' ;
2421import type { ChangeEventHandler } from 'react' ;
2522import { memo , useCallback , useMemo } from 'react' ;
2623import { useTranslation } from 'react-i18next' ;
@@ -35,8 +32,6 @@ export const DimensionsAspectRatioSelect = memo(() => {
3532 const isImagen4 = useAppSelector ( selectIsImagen4 ) ;
3633 const isFluxKontext = useAppSelector ( selectIsFluxKontext ) ;
3734 const isGemini2_5 = useAppSelector ( selectIsGemini2_5 ) ;
38- const isVeo3 = useAppSelector ( selectIsVeo3 ) ;
39- const isRunway = useAppSelector ( selectIsRunway ) ;
4035
4136 const options = useMemo ( ( ) => {
4237 // Imagen3 and ChatGPT4o have different aspect ratio options, and do not support freeform sizes
@@ -52,15 +47,9 @@ export const DimensionsAspectRatioSelect = memo(() => {
5247 if ( isGemini2_5 ) {
5348 return zGemini2_5AspectRatioID . options ;
5449 }
55- if ( isVeo3 ) {
56- return zVeo3AspectRatioID . options ;
57- }
58- if ( isRunway ) {
59- return zRunwayAspectRatioID . options ;
60- }
6150 // All other models
6251 return zAspectRatioID . options ;
63- } , [ isImagen3 , isChatGPT4o , isImagen4 , isFluxKontext , isGemini2_5 , isRunway , isVeo3 ] ) ;
52+ } , [ isImagen3 , isChatGPT4o , isImagen4 , isFluxKontext , isGemini2_5 ] ) ;
6453
6554 const onChange = useCallback < ChangeEventHandler < HTMLSelectElement > > (
6655 ( e ) => {
0 commit comments