diff --git a/src/component/ProductComponent.js b/src/component/ProductComponent.js index 09aca03..5ec507a 100644 --- a/src/component/ProductComponent.js +++ b/src/component/ProductComponent.js @@ -1,5 +1,5 @@ import React, {useState} from "react"; -import {Button, Col, Form, Input, message, Modal, Row, Select, Space, Table, Tag, Typography} from "antd"; +import {Button, Col, Form, Input, message, Modal, Row, Select, Table, Tag, Typography} from "antd"; import {observer} from "mobx-react-lite"; import {ExclamationCircleOutlined} from "@ant-design/icons"; import {useHistory} from "react-router-dom"; @@ -81,23 +81,7 @@ export const ProductComponent = observer((props) => { {record?.status === "ACTIVE" ? " Ya" : "Tidak"} ), - }, - { - title: "Action", - key: "action", - render: (text, record) => ( - - - - - ), - }, + } ]; const deleteData = async (id) => { @@ -331,8 +315,10 @@ export const ProductComponent = observer((props) => {