chore: fix up some small things

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-09-03 15:33:48 +02:00
parent 2f74b73611
commit 6db849e650
3 changed files with 6 additions and 2 deletions
@@ -33,7 +33,7 @@ export function createComponentExtension<TProps extends {}>(options: {
}) {
return createExtension({
kind: 'component',
name: options.ref.id,
name: options.name ?? options.ref.id,
attachTo: { id: 'api:app/components', input: 'components' },
disabled: options.disabled,
output: [createComponentExtension.componentDataRef],