Skip to content
Snippets Groups Projects
Commit bb8df370 authored by xaralis's avatar xaralis
Browse files

feat: clear out text after posting

parents 56beed71 553808a1
No related branches found
No related tags found
No related merge requests found
Pipeline #1746 failed
...@@ -13,7 +13,10 @@ const AddAnnouncementForm = ({ className }) => { ...@@ -13,7 +13,10 @@ const AddAnnouncementForm = ({ className }) => {
const onAdd = (evt) => { const onAdd = (evt) => {
if (!!text) { if (!!text) {
addAnnouncement.run({ content: text }); addAnnouncement.run({ content: text });
<<<<<<< HEAD
setText(""); setText("");
=======
>>>>>>> 553808a17622e42407bd4764fc036b589518a072
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment