import React from 'react'; import { RootState, useAppDispatch, useAppSelector } from '../../../app/store'; import IAINumberInput from '../../../common/components/IAINumberInput'; import { setCfgScale } from '../optionsSlice'; import { fontSize, inputWidth } from './MainOptions'; export default function MainCFGScale() { const dispatch = useAppDispatch(); const cfgScale = useAppSelector((state: RootState) => state.options.cfgScale); const handleChangeCfgScale = (v: number) => dispatch(setCfgScale(v)); return ( ); }