소스 검색

fix search pt di new laporan public

andi 2 년 전
부모
커밋
2309f0a88e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
   };