diff --git a/src/pages/role/component/DetailRole.jsx b/src/pages/role/component/DetailRole.jsx index 4195c2e..c4be5bf 100644 --- a/src/pages/role/component/DetailRole.jsx +++ b/src/pages/role/component/DetailRole.jsx @@ -4,7 +4,14 @@ import { Modal, Form, Input, Select, Row, Col } from 'antd'; const { TextArea } = Input; const { Option } = Select; -const DetailRole = memo(function DetailRole({ visible, onCancel, onOk, form, editingKey, readOnly }) { +const DetailRole = memo(function DetailRole({ + visible, + onCancel, + onOk, + form, + editingKey, + readOnly, +}) { const getModalTitle = () => { if (readOnly) return 'Detail Role'; if (editingKey) return 'Edit Role'; @@ -22,12 +29,7 @@ const DetailRole = memo(function DetailRole({ visible, onCancel, onOk, form, edi width={600} cancelButtonProps={{ style: readOnly ? { display: 'none' } : {} }} > -