aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/new/NewBugPage.tsx
diff options
context:
space:
mode:
authorLena <lena.becker-3@mni.thm.de>2021-03-15 14:52:06 +0100
committerSascha <GlancingMind@outlook.com>2021-03-15 16:35:14 +0100
commitac17596c1ab94b6426bb5b48e39ed0dd9038303e (patch)
tree9c04d7844dbd0ee848bb0f3e024c48f6a75460e9 /webui/src/pages/new/NewBugPage.tsx
parentcd02d80ca2458be40d64d2e945670e0aeeb30fcc (diff)
downloadgit-bug-ac17596c1ab94b6426bb5b48e39ed0dd9038303e.tar.gz
Refactor BackToListButton #10
Diffstat (limited to 'webui/src/pages/new/NewBugPage.tsx')
-rw-r--r--webui/src/pages/new/NewBugPage.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx
index d04e753a..aa220e04 100644
--- a/webui/src/pages/new/NewBugPage.tsx
+++ b/webui/src/pages/new/NewBugPage.tsx
@@ -4,9 +4,9 @@ import { useHistory } from 'react-router-dom';
import { Button, Paper } from '@material-ui/core';
import { makeStyles, Theme } from '@material-ui/core/styles';
+import BackToListButton from '../../components/BackToListButton/BackToListButton';
import BugTitleInput from '../../components/BugTitleForm/BugTitleInput';
import CommentInput from '../../components/CommentInput/CommentInput';
-import BackButton from '../bug/BackButton';
import { useNewBugMutation } from './NewBug.generated';
@@ -96,7 +96,7 @@ function NewBugPage() {
<main className={classes.main}>
<div className={classes.container}>
<div className={classes.leftSidebar}>
- <BackButton />
+ <BackToListButton />
</div>
<Paper className={classes.timeline}>
<form className={classes.form} onSubmit={submitNewIssue}>