liniarize imports

master
Tudor Stanciu 2020-05-19 11:40:49 +03:00
parent 1c4580beae
commit 1d3f69d32e
12 changed files with 77 additions and 63 deletions

View File

@ -1,5 +1,4 @@
import TableCell from "@material-ui/core/TableCell"; import { TableCell, TableRow } from "@material-ui/core";
import TableRow from "@material-ui/core/TableRow";
import { withStyles } from "@material-ui/core/styles"; import { withStyles } from "@material-ui/core/styles";
export const StyledTableCell = withStyles((theme) => ({ export const StyledTableCell = withStyles((theme) => ({

View File

@ -1,13 +1,15 @@
import React, { useState, useEffect } from "react"; import React, { useState, useEffect } from "react";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import AppBar from "@material-ui/core/AppBar";
import Toolbar from "@material-ui/core/Toolbar";
import Typography from "@material-ui/core/Typography";
import IconButton from "@material-ui/core/IconButton";
import MenuIcon from "@material-ui/icons/Menu"; import MenuIcon from "@material-ui/icons/Menu";
import MenuItem from "@material-ui/core/MenuItem"; import {
import Menu from "@material-ui/core/Menu"; Container,
import { Container } from "@material-ui/core"; Toolbar,
Menu,
MenuItem,
IconButton,
Typography,
AppBar
} from "@material-ui/core";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import Flag from "react-flags"; import Flag from "react-flags";
import Navigation from "./Navigation"; import Navigation from "./Navigation";

View File

@ -1,14 +1,16 @@
import React from "react"; import React from "react";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import clsx from "clsx"; import clsx from "clsx";
import Card from "@material-ui/core/Card"; import {
import CardHeader from "@material-ui/core/CardHeader"; Card,
import CardContent from "@material-ui/core/CardContent"; CardHeader,
import CardActions from "@material-ui/core/CardActions"; CardContent,
import Collapse from "@material-ui/core/Collapse"; CardActions,
import Avatar from "@material-ui/core/Avatar"; Collapse,
import IconButton from "@material-ui/core/IconButton"; Avatar,
import Typography from "@material-ui/core/Typography"; IconButton,
Typography
} from "@material-ui/core";
import FavoriteIcon from "@material-ui/icons/Favorite"; import FavoriteIcon from "@material-ui/icons/Favorite";
import ShareIcon from "@material-ui/icons/Share"; import ShareIcon from "@material-ui/icons/Share";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore";

View File

@ -1,14 +1,16 @@
import React from "react"; import React from "react";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import clsx from "clsx"; import clsx from "clsx";
import Card from "@material-ui/core/Card"; import {
import CardHeader from "@material-ui/core/CardHeader"; Card,
import CardContent from "@material-ui/core/CardContent"; CardHeader,
import CardActions from "@material-ui/core/CardActions"; CardContent,
import Collapse from "@material-ui/core/Collapse"; CardActions,
import Avatar from "@material-ui/core/Avatar"; Collapse,
import IconButton from "@material-ui/core/IconButton"; Avatar,
import Typography from "@material-ui/core/Typography"; IconButton,
Typography
} from "@material-ui/core";
import FavoriteIcon from "@material-ui/icons/Favorite"; import FavoriteIcon from "@material-ui/icons/Favorite";
import ShareIcon from "@material-ui/icons/Share"; import ShareIcon from "@material-ui/icons/Share";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore";

View File

@ -1,8 +1,10 @@
import React from "react"; import React from "react";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import ExpansionPanel from "@material-ui/core/ExpansionPanel"; import {
import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary"; ExpansionPanel,
import ExpansionPanelDetails from "@material-ui/core/ExpansionPanelDetails"; ExpansionPanelSummary,
ExpansionPanelDetails
} from "@material-ui/core";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import Spinner from "../../../components/common/Spinner"; import Spinner from "../../../components/common/Spinner";

View File

@ -1,10 +1,9 @@
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { Grid } from "@material-ui/core"; import { Grid, Typography } from "@material-ui/core";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import styles from "../../../components/common/styles/gridStyles"; import styles from "../../../components/common/styles/gridStyles";
import Typography from "@material-ui/core/Typography";
const useStyles = makeStyles(styles); const useStyles = makeStyles(styles);

View File

@ -2,13 +2,15 @@ import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import clsx from "clsx"; import clsx from "clsx";
import Card from "@material-ui/core/Card"; import {
import CardHeader from "@material-ui/core/CardHeader"; Card,
import CardContent from "@material-ui/core/CardContent"; CardHeader,
import CardActions from "@material-ui/core/CardActions"; CardContent,
import Collapse from "@material-ui/core/Collapse"; CardActions,
import Avatar from "@material-ui/core/Avatar"; Collapse,
import IconButton from "@material-ui/core/IconButton"; Avatar,
IconButton
} from "@material-ui/core";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore";
import SurroundSoundRoundedIcon from "@material-ui/icons/SurroundSoundRounded"; import SurroundSoundRoundedIcon from "@material-ui/icons/SurroundSoundRounded";
import ActiveSessionSummary from "./ActiveSessionSummary"; import ActiveSessionSummary from "./ActiveSessionSummary";

View File

@ -2,14 +2,16 @@ import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import clsx from "clsx"; import clsx from "clsx";
import Card from "@material-ui/core/Card"; import {
import CardHeader from "@material-ui/core/CardHeader"; Card,
import CardContent from "@material-ui/core/CardContent"; CardHeader,
import CardActions from "@material-ui/core/CardActions"; CardContent,
import Collapse from "@material-ui/core/Collapse"; CardActions,
import Avatar from "@material-ui/core/Avatar"; Collapse,
import IconButton from "@material-ui/core/IconButton"; Avatar,
import Typography from "@material-ui/core/Typography"; IconButton,
Typography
} from "@material-ui/core";
import FavoriteIcon from "@material-ui/icons/Favorite"; import FavoriteIcon from "@material-ui/icons/Favorite";
import ShareIcon from "@material-ui/icons/Share"; import ShareIcon from "@material-ui/icons/Share";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore";

View File

@ -1,10 +1,8 @@
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { Grid } from "@material-ui/core"; import { Grid, Typography, Link } from "@material-ui/core";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import Typography from "@material-ui/core/Typography";
import Link from "@material-ui/core/Link";
import styles from "../../../components/common/styles/gridStyles"; import styles from "../../../components/common/styles/gridStyles";
const useStyles = makeStyles(styles); const useStyles = makeStyles(styles);

View File

@ -1,13 +1,15 @@
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import Table from "@material-ui/core/Table"; import {
import TableBody from "@material-ui/core/TableBody"; Table,
import TableContainer from "@material-ui/core/TableContainer"; TableBody,
import TableHead from "@material-ui/core/TableHead"; TableContainer,
import TableRow from "@material-ui/core/TableRow"; TableHead,
import Paper from "@material-ui/core/Paper"; TableRow,
import Tooltip from "@material-ui/core/Tooltip"; Paper,
Tooltip
} from "@material-ui/core";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import styles from "../../../components/common/styles/tableStyles"; import styles from "../../../components/common/styles/tableStyles";
import { import {

View File

@ -1,10 +1,12 @@
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import Button from "@material-ui/core/Button"; import {
import Dialog from "@material-ui/core/Dialog"; Button,
import DialogActions from "@material-ui/core/DialogActions"; Dialog,
import DialogContent from "@material-ui/core/DialogContent"; DialogActions,
import DialogTitle from "@material-ui/core/DialogTitle"; DialogContent,
DialogTitle
} from "@material-ui/core";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import ForwardOptionsComponent from "./ForwardOptionsComponent"; import ForwardOptionsComponent from "./ForwardOptionsComponent";

View File

@ -1,8 +1,10 @@
import React from "react"; import React from "react";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import ExpansionPanel from "@material-ui/core/ExpansionPanel"; import {
import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary"; ExpansionPanel,
import ExpansionPanelDetails from "@material-ui/core/ExpansionPanelDetails"; ExpansionPanelSummary,
ExpansionPanelDetails
} from "@material-ui/core";
import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import SessionSummary from "./SessionSummary"; import SessionSummary from "./SessionSummary";