Skip to content

Commit

Permalink
chore: link to commit comment re workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Jan 22, 2025
1 parent b0a847a commit 0ae6fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/ui/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def _dispatch_item(self, item: Item, interaction: MessageInteraction) -> None:
)

def refresh(self, components: List[ActionRowComponent[MessageComponent]]) -> None:
# TODO: this is pretty hacky at the moment
# TODO: this is pretty hacky at the moment, see https://github.com/DisnakeDev/disnake/commit/9384a72acb8c515b13a600592121357e165368da
old_state: Dict[Tuple[int, str], Item] = {
(item.type.value, item.custom_id): item # type: ignore
for item in self.children
Expand Down

0 comments on commit 0ae6fd8

Please sign in to comment.