import { Flex } from '@chakra-ui/layout'; import React, { ChangeEvent } from 'react'; import { RootState, useAppDispatch, useAppSelector, } from '../../../../app/store'; import IAISwitch from '../../../../common/components/IAISwitch'; import { setShouldUseInitImage } from '../../optionsSlice'; export default function ImageToImage() { const dispatch = useAppDispatch(); const initialImagePath = useAppSelector( (state: RootState) => state.options.initialImagePath ); const shouldUseInitImage = useAppSelector( (state: RootState) => state.options.shouldUseInitImage ); const handleChangeShouldUseInitImage = (e: ChangeEvent) => dispatch(setShouldUseInitImage(e.target.checked)); return (

Image to Image

); }