Yuki Takei 4 лет назад
Родитель
Сommit
3620eaffc1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/PageList/PageListItemL.tsx

+ 1 - 1
packages/app/src/components/PageList/PageListItemL.tsx

@@ -56,7 +56,7 @@ export const PageListItemL = memo((props: Props): JSX.Element => {
     }
     }
   }, [isDeviceSmallerThanLg, onClickItem, pageData._id]);
   }, [isDeviceSmallerThanLg, onClickItem, pageData._id]);
 
 
-  const styleListGroupItem = (!isDeviceSmallerThanLg && onClickCheckbox != null) ? 'list-group-item-action' : '';
+  const styleListGroupItem = (!isDeviceSmallerThanLg && onClickItem != null) ? 'list-group-item-action' : '';
   // background color of list item changes when class "active" exists under 'list-group-item'
   // background color of list item changes when class "active" exists under 'list-group-item'
   const styleActive = !isDeviceSmallerThanLg && isSelected ? 'active' : '';
   const styleActive = !isDeviceSmallerThanLg && isSelected ? 'active' : '';