Skip to content

Commit bceff8a

Browse files
committed
style(tui): drop unnecessary async on WelcomeScreen.on_mount
Since _reload_projects was deferred into _on_mount_deferred, on_mount no longer awaits anything — just calls synchronous call_after_refresh. Dropping async makes the signature clearer. Addresses Greptile comment on PR #121.
1 parent f5c7af8 commit bceff8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/kagan/tui/screens/welcome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def compose(self) -> ComposeResult:
9696
)
9797
yield KeybindingHint(id="welcome-hint")
9898

99-
async def on_mount(self) -> None:
99+
def on_mount(self) -> None:
100100
self.call_after_refresh(self._on_mount_deferred)
101101

102102
async def _on_mount_deferred(self) -> None:

0 commit comments

Comments
 (0)