Browse Source

modifed the null check

白石誠 5 năm trước cách đây
mục cha
commit
80678a21e6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
   }