diff --git a/admin/src/components/ConfigList/ConfigListRow/index.jsx b/admin/src/components/ConfigList/ConfigListRow/index.jsx index 181168a..a5a997b 100644 --- a/admin/src/components/ConfigList/ConfigListRow/index.jsx +++ b/admin/src/components/ConfigList/ConfigListRow/index.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Tr, Td, Checkbox, Typography } from '@strapi/design-system'; +import { Tr, Td, Checkbox, Typography, Box } from '@strapi/design-system'; const CustomRow = ({ row, checked, updateValue, ...props }) => { const { configName, configType, state, onClick } = row; @@ -39,26 +39,23 @@ const CustomRow = ({ row, checked, updateValue, ...props }) => { if (e.target.type !== 'checkbox') { onClick(configType, configName); } - if (props.onClick) { - props.onClick(e); - } }} style={{ cursor: 'pointer' }} >