|  | @@ -70,25 +70,25 @@ class ChartDataBar extends React.Component {
 | 
	
		
			
				|  |  |  		};
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -	// async componentDidMount() {
 | 
	
		
			
				|  |  | -	// 	const { token } = this.props;
 | 
	
		
			
				|  |  | -	// 	const data = await jumlahLaporan(token);
 | 
	
		
			
				|  |  | -	// 	this.setState((prevState) => ({
 | 
	
		
			
				|  |  | -	// 		...prevState,
 | 
	
		
			
				|  |  | -	// 		series: [{ data: data.data.map((e) => e.jumlah_laporan), name: "jumlah laporan" }],
 | 
	
		
			
				|  |  | -	// 		options: {
 | 
	
		
			
				|  |  | -	// 			...prevState.options,
 | 
	
		
			
				|  |  | -	// 			xaxis: {
 | 
	
		
			
				|  |  | -	// 				categories: data.data.map((e) => e._id),
 | 
	
		
			
				|  |  | -	// 			},
 | 
	
		
			
				|  |  | -	// 		},
 | 
	
		
			
				|  |  | -	// 	}));
 | 
	
		
			
				|  |  | -	// }
 | 
	
		
			
				|  |  |  	async componentDidMount() {
 | 
	
		
			
				|  |  |  		const { token } = this.props;
 | 
	
		
			
				|  |  | -		const data = await getjumlahStatusLaporan(token);
 | 
	
		
			
				|  |  | -		// console.log(data.data);
 | 
	
		
			
				|  |  | +		const data = await jumlahLaporan(token);
 | 
	
		
			
				|  |  | +		this.setState((prevState) => ({
 | 
	
		
			
				|  |  | +			...prevState,
 | 
	
		
			
				|  |  | +			series: [{ data: data.data.map((e) => e.jumlah_laporan), name: "jumlah laporan" }],
 | 
	
		
			
				|  |  | +			options: {
 | 
	
		
			
				|  |  | +				...prevState.options,
 | 
	
		
			
				|  |  | +				xaxis: {
 | 
	
		
			
				|  |  | +					categories: data.data.map((e) => e._id),
 | 
	
		
			
				|  |  | +				},
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  | +		}));
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +	// async componentDidMount() {
 | 
	
		
			
				|  |  | +	// 	const { token } = this.props;
 | 
	
		
			
				|  |  | +	// 	const data = await getjumlahStatusLaporan(token);
 | 
	
		
			
				|  |  | +	// 	// console.log(data.data);
 | 
	
		
			
				|  |  | +	// }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	render() {
 | 
	
		
			
				|  |  |  		return (
 |