diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2022-02-16 10:32:20 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2022-02-16 10:32:20 +0100 |
commit | bce4d095e16fb33d181b29aa1d3476037c0c873a (patch) | |
tree | 5906465bec4fec179597cd707a710bad08583cd8 /webui/src/pages/bug | |
parent | ce50269639988e39fe4e27cc8c309a9d5c75c958 (diff) | |
download | git-bug-bce4d095e16fb33d181b29aa1d3476037c0c873a.tar.gz |
webui: replace React imports
Diffstat (limited to 'webui/src/pages/bug')
-rw-r--r-- | webui/src/pages/bug/Bug.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/BugQuery.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/CommentForm.tsx | 3 | ||||
-rw-r--r-- | webui/src/pages/bug/EditCommentForm.tsx | 3 | ||||
-rw-r--r-- | webui/src/pages/bug/LabelChange.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/Message.tsx | 3 | ||||
-rw-r--r-- | webui/src/pages/bug/MessageHistoryDialog.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/SetStatus.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/SetTitle.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/Timeline.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/TimelineQuery.tsx | 2 | ||||
-rw-r--r-- | webui/src/pages/bug/labels/LabelMenu.tsx | 3 |
12 files changed, 10 insertions, 18 deletions
diff --git a/webui/src/pages/bug/Bug.tsx b/webui/src/pages/bug/Bug.tsx index b32b0948..99f43064 100644 --- a/webui/src/pages/bug/Bug.tsx +++ b/webui/src/pages/bug/Bug.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { makeStyles } from '@material-ui/core/styles'; import BugTitleForm from 'src/components/BugTitleForm/BugTitleForm'; diff --git a/webui/src/pages/bug/BugQuery.tsx b/webui/src/pages/bug/BugQuery.tsx index 5d459c42..fd0fb9d4 100644 --- a/webui/src/pages/bug/BugQuery.tsx +++ b/webui/src/pages/bug/BugQuery.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import * as React from 'react'; import { RouteComponentProps } from 'react-router-dom'; import CircularProgress from '@material-ui/core/CircularProgress'; diff --git a/webui/src/pages/bug/CommentForm.tsx b/webui/src/pages/bug/CommentForm.tsx index 6d917889..3634f43e 100644 --- a/webui/src/pages/bug/CommentForm.tsx +++ b/webui/src/pages/bug/CommentForm.tsx @@ -1,4 +1,5 @@ -import React, { useState, useRef } from 'react'; +import { useState, useRef } from 'react'; +import * as React from 'react'; import Button from '@material-ui/core/Button'; import Paper from '@material-ui/core/Paper'; diff --git a/webui/src/pages/bug/EditCommentForm.tsx b/webui/src/pages/bug/EditCommentForm.tsx index 8fa659b3..77453941 100644 --- a/webui/src/pages/bug/EditCommentForm.tsx +++ b/webui/src/pages/bug/EditCommentForm.tsx @@ -1,4 +1,5 @@ -import React, { useState, useRef } from 'react'; +import { useState, useRef } from 'react'; +import * as React from 'react'; import Button from '@material-ui/core/Button'; import Paper from '@material-ui/core/Paper'; diff --git a/webui/src/pages/bug/LabelChange.tsx b/webui/src/pages/bug/LabelChange.tsx index 868d8c9b..8c88faf2 100644 --- a/webui/src/pages/bug/LabelChange.tsx +++ b/webui/src/pages/bug/LabelChange.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; diff --git a/webui/src/pages/bug/Message.tsx b/webui/src/pages/bug/Message.tsx index 51087faa..450d5902 100644 --- a/webui/src/pages/bug/Message.tsx +++ b/webui/src/pages/bug/Message.tsx @@ -1,4 +1,5 @@ -import React, { useState } from 'react'; +import { useState } from 'react'; +import * as React from 'react'; import IconButton from '@material-ui/core/IconButton'; import Paper from '@material-ui/core/Paper'; diff --git a/webui/src/pages/bug/MessageHistoryDialog.tsx b/webui/src/pages/bug/MessageHistoryDialog.tsx index 84848cce..c1302196 100644 --- a/webui/src/pages/bug/MessageHistoryDialog.tsx +++ b/webui/src/pages/bug/MessageHistoryDialog.tsx @@ -1,5 +1,5 @@ import moment from 'moment'; -import React from 'react'; +import * as React from 'react'; import Moment from 'react-moment'; import MuiAccordion from '@material-ui/core/Accordion'; diff --git a/webui/src/pages/bug/SetStatus.tsx b/webui/src/pages/bug/SetStatus.tsx index f231b917..87f16267 100644 --- a/webui/src/pages/bug/SetStatus.tsx +++ b/webui/src/pages/bug/SetStatus.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; diff --git a/webui/src/pages/bug/SetTitle.tsx b/webui/src/pages/bug/SetTitle.tsx index 057062f7..39657532 100644 --- a/webui/src/pages/bug/SetTitle.tsx +++ b/webui/src/pages/bug/SetTitle.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; diff --git a/webui/src/pages/bug/Timeline.tsx b/webui/src/pages/bug/Timeline.tsx index 60459a53..1e17fd0a 100644 --- a/webui/src/pages/bug/Timeline.tsx +++ b/webui/src/pages/bug/Timeline.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { makeStyles } from '@material-ui/core/styles'; import { BugFragment } from './Bug.generated'; diff --git a/webui/src/pages/bug/TimelineQuery.tsx b/webui/src/pages/bug/TimelineQuery.tsx index d66c665b..52e8a827 100644 --- a/webui/src/pages/bug/TimelineQuery.tsx +++ b/webui/src/pages/bug/TimelineQuery.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import CircularProgress from '@material-ui/core/CircularProgress'; import { BugFragment } from './Bug.generated'; diff --git a/webui/src/pages/bug/labels/LabelMenu.tsx b/webui/src/pages/bug/labels/LabelMenu.tsx index 645f472c..2c30fcc2 100644 --- a/webui/src/pages/bug/labels/LabelMenu.tsx +++ b/webui/src/pages/bug/labels/LabelMenu.tsx @@ -1,4 +1,5 @@ -import React, { useEffect, useRef, useState } from 'react'; +import { useEffect, useRef, useState } from 'react'; +import * as React from 'react'; import { IconButton } from '@material-ui/core'; import Menu from '@material-ui/core/Menu'; |