Explorar o código

81100 reverting fix null check

SULLEY\ryo-h %!s(int64=4) %!d(string=hai) anos
pai
achega
8ef65df1ca

+ 1 - 1
packages/app/src/components/SearchPage/DeleteSelectedPageGroup.tsx

@@ -47,7 +47,7 @@ const DeleteSelectedPageGroup:FC<Props> = (props:Props) => {
         type="button"
         className="btn text-danger font-weight-light p-0 ml-3"
         onClick={() => {
-          if (onClickInvoked != null) {
+          if (onClickInvoked == null) {
             onClickInvoked();
           }
         }}