Profile edit (WIP)
This commit is contained in:
parent
405aa68526
commit
327b2d0a5b
15 changed files with 174 additions and 46 deletions
|
|
@ -39,7 +39,11 @@ pub fn main() -> Result<(), JsValue> {
|
|||
let id = id.parse::<i64>().unwrap(); // TODO: remove unwrap.
|
||||
console_log!("recipe edit ID: {}", id);
|
||||
|
||||
handles::edit_recipe(&document);
|
||||
handles::recipe_edit(&document);
|
||||
}
|
||||
|
||||
["user", "edit"] => {
|
||||
handles::user_edit(&document);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue