#Best way to store data snd write it to a file?

2 messages · Page 1 of 1 (latest)

regal herald
#

If you remove the line window.location.href = "consent.html" you will see the error the invoke call is throwing. If you navigate to a new page, the console will be cleared.

#

It will complain about not knowing a command named "store" because you called invoke_handler twice. This method can only be called once and if called multiple times, they will just overwrite each other. To register multiple commands, write it like this: ```rs
.invoke_handler(tauri::generate_handler![store, del_record])