Manipulate the assembly #29
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ impl AppState {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
// set the console error panic hook
|
||||
#[cfg(feature = "console_error_panic_hook")]
|
||||
console_error_panic_hook::set_once();
|
||||
|
||||
sycamore::render(|| {
|
||||
provide_context(AppState::new());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue