Skip to content

Commit

Permalink
fixed disbaled button redirs
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-medicala-yral committed Dec 11, 2024
1 parent 75852a0 commit 68cdfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr/src/page/icpump/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ pub fn ActionButton(
view! {
<a
href={if disabled {"#".to_string()}else{href}}
class=format!("flex flex-col gap-1 justify-center items-center text-xs transition-colors {} text-[#A0A1A6]", if !disabled{"group-hover:text-white "}else{""})
class=format!("flex flex-col gap-1 justify-center items-center text-xs transition-colors {} text-[#A0A1A6]", if !disabled{"group-hover:text-white "}else{"group-hover:cursor-default"})
>
<div class="w-[1.875rem] h-[1.875rem]">{children()}</div>

Expand Down

0 comments on commit 68cdfd1

Please sign in to comment.