diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-04 13:36:49 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-04 20:54:04 +0100 |
commit | 288448b64b02be934b80c62a38f607048ccb4a61 (patch) | |
tree | 50e3e2a0818d70a67d4795e0a4ce9365b70c463d /webui/src/pages | |
parent | e040fc807e840fcde03a588884d195c44db254a2 (diff) | |
download | git-bug-288448b64b02be934b80c62a38f607048ccb4a61.tar.gz |
Reuse BugTitleInput component
Diffstat (limited to 'webui/src/pages')
-rw-r--r-- | webui/src/pages/new/NewBugPage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx index b649fffb..a46226ad 100644 --- a/webui/src/pages/new/NewBugPage.tsx +++ b/webui/src/pages/new/NewBugPage.tsx @@ -2,9 +2,9 @@ import React, { FormEvent, useState } from 'react'; import { Button } from '@material-ui/core'; import Paper from '@material-ui/core/Paper'; -import TextField from '@material-ui/core/TextField/TextField'; import { makeStyles, Theme } from '@material-ui/core/styles'; +import BugTitleInput from '../../components/BugTitleForm/BugTitleInput'; import CommentInput from '../../components/CommentInput/CommentInput'; import { useNewBugMutation } from './NewBug.generated'; @@ -69,7 +69,7 @@ function NewBugPage() { return ( <Paper className={classes.main}> <form className={classes.form} onSubmit={submitNewIssue}> - <TextField + <BugTitleInput inputRef={(node) => { issueTitleInput = node; }} |