format component.library black

This commit is contained in:
Benedikt Bartscher 2024-03-01 23:06:37 +01:00
parent bcaab3015d
commit 16b838dfb1
No known key found for this signature in database

View File

@ -100,9 +100,7 @@ class RadixThemesComponent(Component):
"""
component = super().create(*children, **props)
if component.library is None:
component.library = RadixThemesComponent.model_fields[
"library"
].default
component.library = RadixThemesComponent.model_fields["library"].default
component.alias = "RadixThemes" + (
component.tag or component.__class__.__name__
)