Procházet zdrojové kódy

modifed the null check

白石誠 před 5 roky
rodič
revize
80678a21e6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
   }