|  | @@ -25,11 +25,9 @@ class Sanksi extends Component {
 | 
	
		
			
				|  |  |  	static getInitialProps = ({ query }) => ({ query });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	componentDidMount = async () => {
 | 
	
		
			
				|  |  | -		const getToken = await getCsrf();
 | 
	
		
			
				|  |  | -		const _csrf = getToken.token;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		const { token, query } = this.props;
 | 
	
		
			
				|  |  |  		const sanksi = await getOneSanksi(token, query.id);
 | 
	
		
			
				|  |  | -		updatePT(token, query.id, { is_read: "true" }, _csrf)
 | 
	
		
			
				|  |  |  		this.setState({ sanksi, pt: sanksi.data.laporan.pt });
 | 
	
		
			
				|  |  |  	};
 | 
	
		
			
				|  |  |  	setModal = (modal) => {
 |