12 lines
418 B
JavaScript
12 lines
418 B
JavaScript
import { Box } from "@mui/material";
|
|
import FeedbackAction from "./FeedbackAction";
|
|
|
|
const RowActions = ({ row, mutate }) => {
|
|
return (
|
|
<Box sx={{ display: "flex", gap: 1, justifyContent: "Center" }}>
|
|
{row.original.state_id === 1 ? <FeedbackAction mutate={mutate} rowId={row.original.id} rowPrimaryArea={row.original.primary_area} /> : "-"}
|
|
</Box>
|
|
);
|
|
};
|
|
export default RowActions;
|