@ -912,8 +912,8 @@ class Listofworksstudentone extends Component {
}
student=()=>{
this.props.triggerRef(this);
// var homeworkid = this.props.match.params.homeworkid;
// this.Getalistofworks(homeworkid);
var homeworkid = this.props.match.params.homeworkid;
this.Getalistofworks(homeworkid);
let query = this.props.location.pathname;
const type = query.split('/');
this.setState({