summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/post_editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_editor.rs b/src/components/post_editor.rs
index 86bd91d..534b0dd 100644
--- a/src/components/post_editor.rs
+++ b/src/components/post_editor.rs
@@ -534,7 +534,7 @@ impl<E: std::error::Error + std::fmt::Debug + Send + 'static> Component for Post
             Input::SubmitDone(location) => {
                 self.name_buffer.set_text("");
                 self.summary_buffer.set_text("");
-                // TODO: tags
+                self.tags.guard().clear();
                 self.content_buffer.set_text("");
                 let toast = adw::Toast::new("Post submitted");
                 toast.set_button_label(Some("Open"));