From 0ae6fd869936651e57dc8536f24dd2377b6d9b55 Mon Sep 17 00:00:00 2001 From: shiftinv Date: Wed, 22 Jan 2025 14:44:58 +0100 Subject: [PATCH] chore: link to commit comment re workaround --- disnake/ui/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disnake/ui/view.py b/disnake/ui/view.py index 9d115c8dfb..09958066c7 100644 --- a/disnake/ui/view.py +++ b/disnake/ui/view.py @@ -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