diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2020-02-13 20:00:03 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-02-13 20:00:03 +0100 |
commit | ce6f6a984b374b189141116433ced80dfa0c2aae (patch) | |
tree | e6487b9b480e6b18767ae310b702b57e5cbef000 /webui/src/list/List.tsx | |
parent | 8b85780d76ad45675582f4478eedb026b7ac25e1 (diff) | |
download | git-bug-ce6f6a984b374b189141116433ced80dfa0c2aae.tar.gz |
webui: move pages components
Diffstat (limited to 'webui/src/list/List.tsx')
-rw-r--r-- | webui/src/list/List.tsx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/webui/src/list/List.tsx b/webui/src/list/List.tsx deleted file mode 100644 index cebd13f2..00000000 --- a/webui/src/list/List.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import Table from '@material-ui/core/Table/Table'; -import TableBody from '@material-ui/core/TableBody/TableBody'; -import React from 'react'; - -import BugRow from './BugRow'; -import { BugListFragment } from './ListQuery.generated'; - -type Props = { bugs: BugListFragment }; -function List({ bugs }: Props) { - return ( - <Table> - <TableBody> - {bugs.edges.map(({ cursor, node }) => ( - <BugRow bug={node} key={cursor} /> - ))} - </TableBody> - </Table> - ); -} - -export default List; |