| 123456789101112131415161718192021222324252627282930313233343536373839 | import React, { Component } from "react";import ContentWrapper from "@/components/Layout/ContentWrapper";import { Row, Col } from "reactstrap";import CaseProgress from "@/components/Main/CaseProgress";import TableSanksi from "@/components/Banding/TableSanksi";import { getSanksi } from "@/actions/sanksi";class Banding extends Component {	constructor(props) {		super(props);		this.state = {			sanksi: {},		};	}	componentDidMount = async () => {		const sanksi = await getSanksi({ banding: true });		this.setState({ sanksi });	};	render() {		const { sanksi } = this.state;		return (			<ContentWrapper>				<div className="content-heading">Banding</div>				<Row>					<Col lg="4">						<CaseProgress />					</Col>					<Col lg="8">						<TableSanksi listData={sanksi.data} to="/app/banding/detail" linkName="Detail" />					</Col>				</Row>			</ContentWrapper>		);	}}export default Banding;
 |