Fakultas Ilmu Komputer UI

Commit 730dad0d authored by KIANUTAMA RADIANUR HUDHA's avatar KIANUTAMA RADIANUR HUDHA
Browse files

fix frontend issue not permanenly changed

parent a4b1f9bc
......@@ -17,14 +17,14 @@ export default class CompanyProfile extends React.Component {
super(props);
this.state = {
id: this.props.user.data.company.id,
name: this.props.user.data.company.name,
address: this.props.user.data.company.address,
category: this.props.user.data.company.category,
description: this.props.user.data.company.description,
website: this.props.user.data.company.website,
logo: this.props.user.data.company.logo,
size: this.props.user.data.company.size,
linkedin_url: this.props.user.data.company.linkedin_url,
name: '',
address: '',
category: '',
description: '',
website: '',
logo: '',
size: '',
linkedin_url: '',
loading: false,
form: {
name: '',
......@@ -37,6 +37,8 @@ export default class CompanyProfile extends React.Component {
applications: [],
vacancies: [],
};
this.getProfile();
this.getProfile = this.getProfile.bind(this);
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment