Why is React not displaying any data?

I would like to display this on the page:

import React, { Component } from 'react';
import axios from 'axios';

I would like to display this on the page:

class ProjectDeatil extends Component {

constructor(props) {
super(props);

this.state = { user: { name: '' } };
}

.

componentDidMount() {

const { match: { params } } = this.props;

axios.get(http://localhost:8000/api/project/${params.pk})
.then(({ data: user }) => {
console.log( user);

this.setState({"User:": user });

});
}

I added her const

 render() {
const{ user } = this.state;
return (

Then I tried displaying it again and it still didn't work

 <div className="col-md-4 text-white   animated fadeInUp delay-2s if " >
<h1>{user.title}</h1>
<h1> Hello Dear</h1>
</div>

I also tried using django rest api and that also didn't work.

    </div>

);
}
}
export default ProjectDeatil


Python Django Tutorial | Django Course

Python Django Tutorial | Django Course

🔥Intellipaat Django course: https://intellipaat.com/python-django-training/ 👉This Python Django tutorial will help you learn what is django web development &...

This Python Django tutorial will help you learn what is django web development & application, what is django and introduction to django framework, how to install django and start programming, how to create a django project and how to build django app. There is a short django project as well to master this python django framework.

Why should you watch this Django tutorial?

You can learn Django much faster than any other programming language and this Django tutorial helps you do just that. Our Django tutorial has been created with extensive inputs from the industry so that you can learn Django and apply it for real world scenarios.

Why ReactJS is better for Web Application Development?

Why ReactJS is better for Web Application Development?

Web Application Development is the point of contact for a business in today's digital era. It is important to choose the right platform for Web Application Development to build a high end Web

Web Application Development is essential for a business in today’s digital era. Finding the right platform for Web Application Development is important for building an effective Web Application that can enhance the overall customer engagement. Here’s what makes ReactJS a better option for building your next Web Application.