Skip to content

Commit

Permalink
fix: 🐛 used absolute paths in web_log! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Sep 11, 2021
1 parent 49aa2b9 commit 945bd2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/perseus/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#[macro_export]
macro_rules! web_log {
($format_str:literal $(, $data:expr)*) => {
web_sys::console::log_1(
&wasm_bindgen::JsValue::from(
::web_sys::console::log_1(
&::wasm_bindgen::JsValue::from(
format!($format_str $(, $data)*)
)
);
Expand Down

0 comments on commit 945bd2a

Please sign in to comment.