From d0a6da286a28e79ae3bb75af41219c4cc4df20b0 Mon Sep 17 00:00:00 2001 From: ludovicm67 Date: Wed, 12 Feb 2020 23:09:45 +0100 Subject: webui: finish TypeScript conversion --- webui/src/bug/LabelChange.js | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 webui/src/bug/LabelChange.js (limited to 'webui/src/bug/LabelChange.js') diff --git a/webui/src/bug/LabelChange.js b/webui/src/bug/LabelChange.js deleted file mode 100644 index 442cbbb4..00000000 --- a/webui/src/bug/LabelChange.js +++ /dev/null @@ -1,43 +0,0 @@ -import { makeStyles } from '@material-ui/styles'; -import React from 'react'; - -import Author from '../Author'; -import Date from '../Date'; -import Label from '../Label'; - -const useStyles = makeStyles(theme => ({ - main: { - ...theme.typography.body1, - marginLeft: theme.spacing(1) + 40, - }, - author: { - fontWeight: 'bold', - }, -})); - -function LabelChange({ op }) { - const { added, removed } = op; - const classes = useStyles(); - return ( -
- - {added.length > 0 && added the } - {added.map((label, index) => ( -
- ); -} - -export default LabelChange; -- cgit