Explorar el Código

fix search pt di new laporan public

andi hace 2 años
padre
commit
2309f0a88e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   };