Skip to content

Commit 038ca4a

Browse files
authored
more unpack
1 parent 776d5e1 commit 038ca4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ui/media_gallery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ def width(self):
184184
@classmethod
185185
def from_component(cls, component: MediaGalleryComponent) -> Self:
186186
return cls(
187-
items=component.items,
187+
*component.items,
188188
id=component.id,
189189
)

0 commit comments

Comments
 (0)