diff --git a/ssr/src/page/icpump/mod.rs b/ssr/src/page/icpump/mod.rs index baa80d0d..481afa88 100644 --- a/ssr/src/page/icpump/mod.rs +++ b/ssr/src/page/icpump/mod.rs @@ -17,6 +17,7 @@ use crate::utils::token::firestore::init_firebase; use crate::utils::token::firestore::listen_to_documents; use crate::utils::token::icpump::get_paginated_token_list; use crate::utils::token::icpump::TokenListItem; +use crate::utils::web::copy_to_clipboard; pub mod ai; @@ -142,7 +143,8 @@ pub fn TokenCard( .trim_end_matches('/') .split('/') .last() - .expect("URL should have at least one segment"); + .expect("URL should have at least one segment") + .to_string(); // Convert to owned String view! {