diff --git a/discord/ui/section.py b/discord/ui/section.py index 5840185c2..a08f9e26b 100644 --- a/discord/ui/section.py +++ b/discord/ui/section.py @@ -241,7 +241,6 @@ class Section(Item[V]): def from_component(cls, component: SectionComponent) -> Self: from .view import _component_to_item - # using MISSING as accessory so we can create the new one with the parent set accessory = _component_to_item(component.accessory, None) self = cls(id=component.id, accessory=accessory) self.id = component.id