Explorar el Código

BugFix for deselectAll

Yuki Takei hace 4 años
padre
commit
9febf6c3b0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/components/SearchPage.tsx

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

@@ -133,7 +133,7 @@ export const SearchPage = (props: Props): JSX.Element => {
     if (isChecked) {
       instance.selectAll();
     }
-    if (isChecked) {
+    if (!isChecked) {
       instance.deselectAll();
     }
   }, []);