Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeruCodes committed Dec 6, 2024
1 parent b78cdc8 commit 679efb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ssr/src/page/token/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,13 @@ pub fn TokenInfo() -> impl IntoView {
{
res.map(|amt|{
if airdrop_sig.get(){
return Some(
Some(
view! {
<AirdropPage metadata=metadata.clone() airdrop_amount=amt/>
}
)
}else{
return None
None
}
})
}
Expand Down
5 changes: 1 addition & 4 deletions ssr/src/page/wallet/airdrop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ pub fn AirdropPage(metadata: TokenMetadata, airdrop_amount: u64) -> impl IntoVie
let airdrop_from_token = metadata.name;

let handle_claim = move || {
if !claimed.get() {
set_claimed(true);
} else {
}
set_claimed(true);
};

view! {
Expand Down

0 comments on commit 679efb2

Please sign in to comment.