Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
2190b7f5
Commit
2190b7f5
authored
May 24, 2017
by
M. Reza Qorib
Browse files
[#144502159] [Refactor] #49 Resolve key warning in VacancyList
parent
524213be
Changes
2
Hide whitespace changes
Inline
Side-by-side
assets/js/VacancyPage.jsx
View file @
2190b7f5
...
...
@@ -80,6 +80,7 @@ export default class VacancyPage extends React.Component {
return
(
<
Segment
className
=
"paginationCompany"
>
<
Pagination
key
=
{
1
}
url
=
{
`/companies/
${
this
.
state
.
id
}
/vacancies/`
}
child
=
{
<
VacancyList
...
...
assets/js/components/VacancyList.jsx
View file @
2190b7f5
...
...
@@ -56,13 +56,13 @@ export default class VacancyList extends React.Component {
return
this
.
state
.
vacancies
.
map
(
vacancy
=>
(
<
Item
.
Group
relaxed
style
=
{
{
width
:
'
100%
'
}
}
>
<
CompanyVacancy
key
=
{
vacancy
.
id
}
data
=
{
vacancy
}
deleteCallback
=
{
()
=>
this
.
deleteVacancy
(
vacancy
.
id
)
}
/>
</
Item
.
Group
>
<
Item
.
Group
key
=
{
vacancy
.
id
}
relaxed
style
=
{
{
width
:
'
100%
'
}
}
>
<
CompanyVacancy
key
=
{
vacancy
.
id
}
data
=
{
vacancy
}
deleteCallback
=
{
()
=>
this
.
deleteVacancy
(
vacancy
.
id
)
}
/>
</
Item
.
Group
>
),
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment