diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx')
-rw-r--r-- | sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx b/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx index b461aa7bd..3d0651b49 100644 --- a/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx +++ b/sdnr/wt/odlux/apps/demoApp/src/views/authorsList.tsx @@ -45,19 +45,19 @@ class AuthorsListComponent extends React.Component<RouteComponentProps & IAuthor <Table > <TableHead> <TableRow> - <TableCell numeric>Id</TableCell> + <TableCell align="right">Id</TableCell> <TableCell >First Name</TableCell> <TableCell >Last Name</TableCell> </TableRow> </TableHead> <TableBody> - { authors.map(author => ( - <TableRow key={ author.id } onClick={ (e) => this.editAuthor(author) }> - <TableCell>{ author.id }</TableCell> - <TableCell>{ author.firstName }</TableCell> - <TableCell>{ author.lastName }</TableCell> + {authors.map(author => ( + <TableRow key={author.id} onClick={(e) => this.editAuthor(author)}> + <TableCell>{author.id}</TableCell> + <TableCell>{author.firstName}</TableCell> + <TableCell>{author.lastName}</TableCell> </TableRow> - )) } + ))} </TableBody> </Table> </Paper> |