trimeed the searched

parent aeb0959b
......@@ -32,7 +32,7 @@ function LeftSidebar() {
}, [inputValue]);
const handleChange = (event) => {
setInputValue(event.target.value);
setInputValue(event.target.value.trim());
};
useEffect(() => {
......
......@@ -67,7 +67,7 @@ function Dashboard() {
}, [inputValue]);
const handleChange = (event) => {
setInputValue(event.target.value);
setInputValue(event.target.value.trim());
};
const headers = [
......
Markdown is supported
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