Skip to content

Commit 125612e

Browse files
authored
component typing
1 parent 5136a4a commit 125612e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

discord/ui/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def size(self) -> int:
9090
"""The size of this file in bytes, if provided by Discord."""
9191
return self._underlying.size
9292

93-
def refresh_component(self, component: Component) -> None:
93+
def refresh_component(self, component: FileComponent) -> None:
9494
original = self._underlying.file
9595
component.file._static_url = original._static_url
9696
self._underlying = component

0 commit comments

Comments
 (0)