Skip to content

Commit

Permalink
fix: satisfy reactive system
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbchron committed Mar 29, 2024
1 parent 8a901ac commit b90e163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/site-app/src/pages/auth/login_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub fn LoginPageInner(next_url: Option<String>) -> impl IntoView {
<p class="d-card-subtitle">
"Enter your email and password to login. No account? "
<a
href={format!("/signup{}", next_url().map(|n| format!("?next={}", n)).unwrap_or_default())}
href={move || format!("/signup{}", next_url().map(|n| format!("?next={}", n)).unwrap_or_default())}
class="underline hover:no-underline"
>
"Sign up here."
Expand Down
2 changes: 1 addition & 1 deletion crates/site-app/src/pages/auth/signup_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub fn SignupPageInner(next_url: Option<String>) -> impl IntoView {
<p class="d-card-subtitle">
"Already have an account? "
<a
href={format!("/login{}", next_url().map(|n| format!("?next={}", n)).unwrap_or_default())}
href={move || format!("/login{}", next_url().map(|n| format!("?next={}", n)).unwrap_or_default())}
class="underline hover:no-underline"
>
"Login here."
Expand Down

0 comments on commit b90e163

Please sign in to comment.