Commit 6b90f625 authored by Aron Fiechter's avatar Aron Fiechter
Browse files

Do not clear query text after sending

parent d82d80ee
......@@ -23,9 +23,7 @@ export default function Query(props) {
if (!text.trim()) {
return;
}
dispatch(performQuery({ text })).then(() => {
setText('');
});
dispatch(performQuery({ text }));
};
return (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment