aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/new
diff options
context:
space:
mode:
authorCláudio Silva <claudio.engdist@gmail.com>2021-02-02 15:23:23 -0300
committerGitHub <noreply@github.com>2021-02-02 15:23:23 -0300
commitfd8d11030b7cb1ddf772e72dd60dcc054560ef11 (patch)
tree3a5b9b45ecb3bf5d013a7b77a3afd0b375df4bdd /webui/src/pages/new
parenta005c179cb974d70a0211e7f17db36523be9ba97 (diff)
parentabb005e1d5a97c960dd81af5d678092fe1a3ec49 (diff)
downloadgit-bug-fd8d11030b7cb1ddf772e72dd60dcc054560ef11.tar.gz
Merge pull request #1 from claudioantonio/webui_535
Webui 535
Diffstat (limited to 'webui/src/pages/new')
-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 (