From a050b1436bed2d3c4976d4417f8a1320bd07ba34 Mon Sep 17 00:00:00 2001 From: joel-medicala-yral Date: Tue, 24 Dec 2024 17:45:43 +0530 Subject: [PATCH] fixed wallet button --- ssr/src/component/buttons.rs | 16 +++++------ ssr/src/page/token/info.rs | 3 +- ssr/src/page/wallet/airdrop.rs | 52 +++++++++++++++++++++++----------- 3 files changed, 46 insertions(+), 25 deletions(-) diff --git a/ssr/src/component/buttons.rs b/ssr/src/component/buttons.rs index 232f0bb1..8fdb928f 100644 --- a/ssr/src/component/buttons.rs +++ b/ssr/src/component/buttons.rs @@ -5,28 +5,28 @@ pub fn HighlightedButton( children: Children, on_click: impl Fn() + 'static, #[prop(optional)] classes: String, - #[prop(optional)] alt_style: Signal, - #[prop(optional)] disabled: Signal, + #[prop(optional)] alt_style: bool, + #[prop(optional)] disabled: bool, ) -> impl IntoView { let on_click = move |_| on_click(); view! {