Panics · P02 Typography: Link takes its handler, an unknown zone reads as UTC and says so, a long highlight query logs

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 16:02:40 -04:00
1 parent e5166e9e26
commit f46cc4e7c3
11 files changed
+132 -60

No files matched your search

+6 -3
View File
@@ -48,7 +48,7 @@ pub(super) fn aside(
.text_size(theme.text_size(TextSize::Sm))
.text_color(theme.colors.fg_muted)
.child(words)
.child(Link::new(id, link).on_click(move |_, window, cx| run(window, cx)))
.child(Link::new(id, link, move |_, window, cx| run(window, cx)))
}
/// What a sign-in hands its owner.
@@ -170,8 +170,11 @@ impl RenderOnce for LoginForm {
}),
)
.children(self.on_forgot.map(|run| {
Link::new((id.clone(), "forgot"), "Forgot password?")
.on_click(move |_, window, cx| run(window, cx))
Link::new(
(id.clone(), "forgot"),
"Forgot password?",
move |_, window, cx| run(window, cx),
)
})),
)
.children(