Parcourir la source

modifed the null check

白石誠 il y a 5 ans
Parent
commit
80678a21e6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
   }