Ignore:
Timestamp:
01/15/21 04:14:15 (3 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
6729ba5
Parents:
4302312
Message:

more groundwork

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client_app/src/components/work/team_projects.js

    r4302312 red3f5c4  
    1212                    <Button as={Link} to={"/register/project"} primary>Add</Button>
    1313                    <h1>Registered Projects:</h1>
    14                     {props.userProfile.projects.map(item =>{
     14                    {props.userProfile.projects.map((item, index) =>{
    1515                        return <Projects
    16                             title={item.title}
    17                             description={item.description}
    18                             accountName={item.accountName}
    19                             accountEmail={item.accountEmail}
    20                             skills={item.skillsRequired}
    21                             type={props.userProfile.type}
     16                            key={item.id}
     17                            index={index}
     18                            item={item}
    2219                        />
    2320                    })}
Note: See TracChangeset for help on using the changeset viewer.