aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/BugTitleForm
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/components/BugTitleForm')
-rw-r--r--webui/src/components/BugTitleForm/BugTitleForm.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx
index a7d5a820..529f23a2 100644
--- a/webui/src/components/BugTitleForm/BugTitleForm.tsx
+++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx
@@ -1,4 +1,5 @@
import React, { useState } from 'react';
+import { Link } from 'react-router-dom';
import { Button, makeStyles, Typography } from '@material-ui/core';
@@ -157,7 +158,8 @@ function BugTitleForm({ bug }: Props) {
className={classes.greenButton}
size="small"
variant="contained"
- href="/new"
+ component={Link}
+ to="/new"
>
New bug
</Button>