aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/new/NewBugPage.tsx
diff options
context:
space:
mode:
authorCláudio <claudio.engdist@gmail.com>2021-02-02 09:00:01 -0300
committerCláudio <claudio.engdist@gmail.com>2021-02-02 09:00:01 -0300
commit25a1f4df558c042af5129fc5d0f30a491e8b8da9 (patch)
tree4aa23e90e3c132acd634f91b25ea76628f84e619 /webui/src/pages/new/NewBugPage.tsx
parenta005c179cb974d70a0211e7f17db36523be9ba97 (diff)
downloadgit-bug-25a1f4df558c042af5129fc5d0f30a491e8b8da9.tar.gz
Commit for #535
Diffstat (limited to 'webui/src/pages/new/NewBugPage.tsx')
-rw-r--r--webui/src/pages/new/NewBugPage.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx
index 8e06706f..c70cddaa 100644
--- a/webui/src/pages/new/NewBugPage.tsx
+++ b/webui/src/pages/new/NewBugPage.tsx
@@ -64,9 +64,6 @@ function NewBugPage() {
function submitNewIssue(e: FormEvent) {
e.preventDefault();
if (!isFormValid()) return;
- console.log('submitNewISsue');
- console.log('title: ', issueTitle);
- console.log('comment: ', issueComment);
newBug({
variables: {
input: {
@@ -82,7 +79,7 @@ function NewBugPage() {
return issueTitle.length > 0 && issueComment.length > 0 ? true : false;
}
- if (loading) return <div>Loading</div>;
+ if (loading) return <div>Loading...</div>;
if (error) return <div>Error</div>;
return (