diff options
Diffstat (limited to 'webui/src/pages')
22 files changed, 18 insertions, 31 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'; diff --git a/webui/src/pages/identity/BugList.tsx b/webui/src/pages/identity/BugList.tsx index fbddb0fe..c053d1cf 100644 --- a/webui/src/pages/identity/BugList.tsx +++ b/webui/src/pages/identity/BugList.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { Card, Divider, Link, Typography } from '@material-ui/core'; import CircularProgress from '@material-ui/core/CircularProgress'; import { makeStyles } from '@material-ui/core/styles'; diff --git a/webui/src/pages/identity/Identity.tsx b/webui/src/pages/identity/Identity.tsx index 5170eeea..786b40d8 100644 --- a/webui/src/pages/identity/Identity.tsx +++ b/webui/src/pages/identity/Identity.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { Link as RouterLink } from 'react-router-dom'; import { Link, Paper, Typography } from '@material-ui/core'; diff --git a/webui/src/pages/identity/IdentityQuery.tsx b/webui/src/pages/identity/IdentityQuery.tsx index 964a9bac..762c17cc 100644 --- a/webui/src/pages/identity/IdentityQuery.tsx +++ b/webui/src/pages/identity/IdentityQuery.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/list/BugRow.tsx b/webui/src/pages/list/BugRow.tsx index 68a3b299..b3380dd7 100644 --- a/webui/src/pages/list/BugRow.tsx +++ b/webui/src/pages/list/BugRow.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import * as React from 'react'; import { Link } from 'react-router-dom'; import TableCell from '@material-ui/core/TableCell/TableCell'; diff --git a/webui/src/pages/list/Filter.tsx b/webui/src/pages/list/Filter.tsx index 496fb3ba..e85ae488 100644 --- a/webui/src/pages/list/Filter.tsx +++ b/webui/src/pages/list/Filter.tsx @@ -1,6 +1,7 @@ import clsx from 'clsx'; import { LocationDescriptor } from 'history'; -import React, { useRef, useState, useEffect } from 'react'; +import { useRef, useState, useEffect } from 'react'; +import * as React from 'react'; import { Link } from 'react-router-dom'; import Menu from '@material-ui/core/Menu'; diff --git a/webui/src/pages/list/FilterToolbar.tsx b/webui/src/pages/list/FilterToolbar.tsx index 0c7a9e4f..9620bd97 100644 --- a/webui/src/pages/list/FilterToolbar.tsx +++ b/webui/src/pages/list/FilterToolbar.tsx @@ -1,6 +1,6 @@ import { pipe } from '@arrows/composition'; import { LocationDescriptor } from 'history'; -import React from 'react'; +import * as React from 'react'; import Toolbar from '@material-ui/core/Toolbar'; import { makeStyles } from '@material-ui/core/styles'; diff --git a/webui/src/pages/list/List.tsx b/webui/src/pages/list/List.tsx index c1cae122..11760509 100644 --- a/webui/src/pages/list/List.tsx +++ b/webui/src/pages/list/List.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import Table from '@material-ui/core/Table/Table'; import TableBody from '@material-ui/core/TableBody/TableBody'; diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx index c2f71ef0..8dd9668e 100644 --- a/webui/src/pages/list/ListQuery.tsx +++ b/webui/src/pages/list/ListQuery.tsx @@ -1,6 +1,7 @@ import { ApolloError } from '@apollo/client'; import { pipe } from '@arrows/composition'; -import React, { useState, useEffect, useRef } from 'react'; +import { useState, useEffect, useRef } from 'react'; +import * as React from 'react'; import { useLocation, useHistory, Link } from 'react-router-dom'; import { Button, FormControl, Menu, MenuItem } from '@material-ui/core'; diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx index cdec3558..902a94bc 100644 --- a/webui/src/pages/new/NewBugPage.tsx +++ b/webui/src/pages/new/NewBugPage.tsx @@ -1,4 +1,4 @@ -import React, { FormEvent, useState } from 'react'; +import { FormEvent, useState } from 'react'; import { useHistory } from 'react-router-dom'; import { Button, Paper } from '@material-ui/core'; diff --git a/webui/src/pages/notfound/NotFoundPage.tsx b/webui/src/pages/notfound/NotFoundPage.tsx index 2c6f6854..2fb2a1bb 100644 --- a/webui/src/pages/notfound/NotFoundPage.tsx +++ b/webui/src/pages/notfound/NotFoundPage.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { makeStyles } from '@material-ui/core/styles'; import BackToListButton from '../../components/BackToListButton'; |