Skip to content

Commit

Permalink
google_redirect lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-mahajan-yral committed Feb 6, 2025
1 parent bc928a3 commit b4de5df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssr/src/component/login_modal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ pub fn LoginModal(#[prop(into)] show: RwSignal<bool>) -> impl IntoView {
{
let user_principal = canisters.user_principal();
if let Some(window) = window() {
let _ = window.location().set_href(
&format!("/profile/{}/tokens", user_principal)
);
let _ = window
.location()
.set_href(&format!("/profile/{}/tokens", user_principal));
} else {
value(
&format!("/profile/{}/tokens", user_principal),
Expand Down

0 comments on commit b4de5df

Please sign in to comment.