Merge branch 'main' into feat/taesd

This commit is contained in:
Kent Keirsey 2023-09-20 17:13:11 -04:00 committed by GitHub
commit 3c44a74ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
import { Box } from '@chakra-ui/react';
import { createSelector } from '@reduxjs/toolkit'; import { createSelector } from '@reduxjs/toolkit';
import { stateSelector } from 'app/store/store'; import { stateSelector } from 'app/store/store';
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
@ -26,16 +27,15 @@ const ParamControlNetFeatureToggle = () => {
}, [dispatch]); }, [dispatch]);
return ( return (
<IAIInformationalPopover details="controlNetToggle"> <Box width="100%">
<IAISwitch <IAIInformationalPopover details="controlNetToggle">
label="Enable ControlNet" <IAISwitch
isChecked={isEnabled} label="Enable ControlNet"
onChange={handleChange} isChecked={isEnabled}
formControlProps={{ onChange={handleChange}
width: '100%', />
}} </IAIInformationalPopover>
/> </Box>
</IAIInformationalPopover>
); );
}; };