Ver código fonte

fix search pt di new laporan public

andi 2 anos atrás
pai
commit
2309f0a88e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      pages/laporan/new/index.js

+ 1 - 1
pages/laporan/new/index.js

@@ -205,7 +205,7 @@ class App extends Component {
   };
 
   handleInputChange = (newValue) => {
-    const inputValue = newValue.replace(/\W/g, "");
+    const inputValue = newValue.replace();
     this.setState({ inputValue });
     return inputValue;
   };