Przeglądaj źródła

modifed the null check

白石誠 5 lat temu
rodzic
commit
80678a21e6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/client/js/components/Page/NotFoundAlert.jsx

+ 1 - 1
src/client/js/components/Page/NotFoundAlert.jsx

@@ -5,7 +5,7 @@ const NotFoundAlert = (props) => {
 
   function clickHandler(viewType) {
     if (props.onPageCreateClicked === null) {
-      return null;
+      return;
     }
     props.onPageCreateClicked(viewType);
   }