mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): rebase conflicts
This commit is contained in:
@@ -40,9 +40,7 @@ export const AddPromptButtons = ({ id }: AddPromptButtonProps) => {
|
||||
dispatch(rgNegativePromptChanged({ id, prompt: '' }));
|
||||
}, [dispatch, id]);
|
||||
const addIPAdapter = useCallback(() => {
|
||||
dispatch(
|
||||
rgIPAdapterAdded({ id, ipAdapter: { ...defaultIPAdapter, id: nanoid(), type: 'ip_adapter', isEnabled: true } })
|
||||
);
|
||||
dispatch(rgIPAdapterAdded({ id, ipAdapter: { ...defaultIPAdapter, id: nanoid() } }));
|
||||
}, [defaultIPAdapter, dispatch, id]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user