@@ -17,10 +17,7 @@ import {
17
17
zFluxKontextAspectRatioID ,
18
18
zGemini2_5AspectRatioID ,
19
19
zImagen3AspectRatioID ,
20
- zRunwayAspectRatioID ,
21
- zVeo3AspectRatioID ,
22
20
} from 'features/controlLayers/store/types' ;
23
- import { selectIsRunway , selectIsVeo3 } from 'features/parameters/store/videoSlice' ;
24
21
import type { ChangeEventHandler } from 'react' ;
25
22
import { memo , useCallback , useMemo } from 'react' ;
26
23
import { useTranslation } from 'react-i18next' ;
@@ -35,8 +32,6 @@ export const DimensionsAspectRatioSelect = memo(() => {
35
32
const isImagen4 = useAppSelector ( selectIsImagen4 ) ;
36
33
const isFluxKontext = useAppSelector ( selectIsFluxKontext ) ;
37
34
const isGemini2_5 = useAppSelector ( selectIsGemini2_5 ) ;
38
- const isVeo3 = useAppSelector ( selectIsVeo3 ) ;
39
- const isRunway = useAppSelector ( selectIsRunway ) ;
40
35
41
36
const options = useMemo ( ( ) => {
42
37
// Imagen3 and ChatGPT4o have different aspect ratio options, and do not support freeform sizes
@@ -52,15 +47,9 @@ export const DimensionsAspectRatioSelect = memo(() => {
52
47
if ( isGemini2_5 ) {
53
48
return zGemini2_5AspectRatioID . options ;
54
49
}
55
- if ( isVeo3 ) {
56
- return zVeo3AspectRatioID . options ;
57
- }
58
- if ( isRunway ) {
59
- return zRunwayAspectRatioID . options ;
60
- }
61
50
// All other models
62
51
return zAspectRatioID . options ;
63
- } , [ isImagen3 , isChatGPT4o , isImagen4 , isFluxKontext , isGemini2_5 , isRunway , isVeo3 ] ) ;
52
+ } , [ isImagen3 , isChatGPT4o , isImagen4 , isFluxKontext , isGemini2_5 ] ) ;
64
53
65
54
const onChange = useCallback < ChangeEventHandler < HTMLSelectElement > > (
66
55
( e ) => {
0 commit comments