File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4141
4242if TYPE_CHECKING :
4343 from ..emoji import AppEmoji , GuildEmoji
44- from .view import BaseView
4544 from ..types .components import ButtonComponent as ButtonComponentPayload
45+ from .view import BaseView
4646
4747B = TypeVar ("B" , bound = "Button" )
4848V = TypeVar ("V" , bound = "BaseView" , covariant = True )
Original file line number Diff line number Diff line change @@ -339,7 +339,9 @@ def to_component_dict(self) -> LabelComponentPayload:
339339 self ._set_component_from_item (self .item )
340340 return super ().to_component_dict ()
341341
342- def refresh_from_modal (self , interaction : Interaction , data : LabelComponentPayload ) -> None :
342+ def refresh_from_modal (
343+ self , interaction : Interaction , data : LabelComponentPayload
344+ ) -> None :
343345 return self .item .refresh_from_modal (interaction , data .get ("component" , {}))
344346
345347 @classmethod
You can’t perform that action at this time.
0 commit comments