mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): text and heading element default content is empty string
This commit is contained in:
@@ -164,11 +164,11 @@ const useAddFormElementDnd = (
|
||||
return buildFormElementDndData(element);
|
||||
}
|
||||
if (type === 'heading') {
|
||||
const element = buildHeading('default heading');
|
||||
const element = buildHeading('');
|
||||
return buildFormElementDndData(element);
|
||||
}
|
||||
if (type === 'text') {
|
||||
const element = buildText('default text');
|
||||
const element = buildText('');
|
||||
return buildFormElementDndData(element);
|
||||
}
|
||||
assert(false);
|
||||
|
||||
Reference in New Issue
Block a user