fix markdown not clearing

This commit is contained in:
Will McGugan
2024-06-06 15:52:55 +01:00
parent 7cfa1a6c83
commit d43ba0b5fc
2 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class DictionaryApp(App):
self.lookup_word(message.value)
else:
# Clear the results
self.query_one("#results", Markdown).update("")
await self.query_one("#results", Markdown).update("")
@work(exclusive=True)
async def lookup_word(self, word: str) -> None: