1 2 3 4 5 6
pub fn setup_hooks() { #[cfg(target_arch = "wasm32")] { console_error_panic_hook::set_once(); } }