aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/new/NewBugPage.tsx
diff options
context:
space:
mode:
authorCláudio <claudio.engdist@gmail.com>2021-01-31 20:18:54 -0300
committerCláudio <claudio.engdist@gmail.com>2021-01-31 20:18:54 -0300
commitbacfa32fa074b91640c65603b293b4f69b982cce (patch)
tree0ad3e7cabb25fa45614c30ffb5f8fe560559c8af /webui/src/pages/new/NewBugPage.tsx
parent1b0b7134005fb70178af1a7c57786dce8bd607a3 (diff)
downloadgit-bug-bacfa32fa074b91640c65603b293b4f69b982cce.tar.gz
Commit for #539
- validating to avoid empty comments - comment button now is green
Diffstat (limited to 'webui/src/pages/new/NewBugPage.tsx')
-rw-r--r--webui/src/pages/new/NewBugPage.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx
index c8e68e7b..8e06706f 100644
--- a/webui/src/pages/new/NewBugPage.tsx
+++ b/webui/src/pages/new/NewBugPage.tsx
@@ -5,7 +5,7 @@ import Paper from '@material-ui/core/Paper';
import TextField from '@material-ui/core/TextField/TextField';
import { fade, makeStyles, Theme } from '@material-ui/core/styles';
-import CommentInput from '../bug/CommentInput';
+import CommentInput from '../../layout/CommentInput/CommentInput';
import { useNewBugMutation } from './NewBug.generated';
@@ -42,7 +42,7 @@ const useStyles = makeStyles((theme: Theme) => ({
display: 'flex',
justifyContent: 'flex-end',
},
- gitbugButton: {
+ greenButton: {
backgroundColor: '#2ea44fd9',
color: '#fff',
'&:hover': {
@@ -105,7 +105,7 @@ function NewBugPage() {
/>
<div className={classes.actions}>
<Button
- className={classes.gitbugButton}
+ className={classes.greenButton}
variant="contained"
type="submit"
disabled={isFormValid() ? false : true}