Service for editing/creating recipe
[recipes.git] / frontend / src / lib.rs
index aea6567..65fbac1 100644 (file)
@@ -33,7 +33,7 @@ pub fn main() -> Result<(), JsValue> {
     let path: Vec<&str> = location.split('/').skip(1).collect();
 
     /*
-     * Todo:
+     * TODO:
      * [ok] get url (/recipe/edit/{id}) and extract the id
      * - Add a handle (event?) to the title field (when edited/changed?):
      *  - Call (as AJAR) /ron-api/set-title and set the body to a serialized RON of the type common::ron_api::SetTitle