* Create a minimalistic toast
* Profile editing (WIP)
This commit is contained in:
parent
327b2d0a5b
commit
1c79cc890d
25 changed files with 1133 additions and 575 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use web_sys::console;
|
||||
// use web_sys::console;
|
||||
|
||||
pub fn set_panic_hook() {
|
||||
// When the `console_error_panic_hook` feature is enabled, we can call the
|
||||
|
|
@ -11,9 +11,9 @@ pub fn set_panic_hook() {
|
|||
console_error_panic_hook::set_once();
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! console_log {
|
||||
// Note that this is using the `log` function imported above during
|
||||
// `bare_bones`
|
||||
($($t:tt)*) => (console::log_1(&format_args!($($t)*).to_string().into()))
|
||||
}
|
||||
// #[macro_export]
|
||||
// macro_rules! console_log {
|
||||
// // Note that this is using the `log` function imported above during
|
||||
// // `bare_bones`
|
||||
// ($($t:tt)*) => (console::log_1(&format_args!($($t)*).to_string().into()))
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue