Commit 50b55c85 authored by Florent Chehab's avatar Florent Chehab
Browse files

Cleaned some imports and move field to new file

parent 8654dc22
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import classNames from 'classnames'; import classNames from 'classnames';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import CssBaseline from '@material-ui/core/CssBaseline'; import CssBaseline from '@material-ui/core/CssBaseline';
import Drawer from '@material-ui/core/Drawer'; import Drawer from '@material-ui/core/Drawer';
import List from '@material-ui/core/List'; import List from '@material-ui/core/List';
...@@ -16,7 +16,7 @@ import ChevronLeftIcon from '@material-ui/icons/ChevronLeft'; ...@@ -16,7 +16,7 @@ import ChevronLeftIcon from '@material-ui/icons/ChevronLeft';
import SchoolIcon from '@material-ui/icons/School'; import SchoolIcon from '@material-ui/icons/School';
import { mainListItems, secondaryListItems, thirdListItems } from './template/listItems'; import { mainListItems, secondaryListItems, thirdListItems } from './template/listItems';
import { connect } from "react-redux"; import {connect} from "react-redux";
import MyComponent from './MyComponent' import MyComponent from './MyComponent'
// import route Components here // import route Components here
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import React from "react"; import React from "react";
import MuiThemeProvider from '@material-ui/core/styles/MuiThemeProvider'; import MuiThemeProvider from '@material-ui/core/styles/MuiThemeProvider';
import createMuiTheme from '@material-ui/core/styles/createMuiTheme'; import createMuiTheme from '@material-ui/core/styles/createMuiTheme';
import { connect } from "react-redux"; import {connect} from "react-redux";
import { BrowserRouter as Router, Route } from 'react-router-dom'; import { BrowserRouter as Router, Route } from 'react-router-dom';
import MyComponent from './MyComponent'; import MyComponent from './MyComponent';
import 'typeface-roboto'; import 'typeface-roboto';
......
...@@ -4,7 +4,7 @@ import React from 'react'; ...@@ -4,7 +4,7 @@ import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import keycode from 'keycode'; import keycode from 'keycode';
import Downshift from 'downshift'; import Downshift from 'downshift';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import TextField from '@material-ui/core/TextField'; import TextField from '@material-ui/core/TextField';
import Paper from '@material-ui/core/Paper'; import Paper from '@material-ui/core/Paper';
import MenuItem from '@material-ui/core/MenuItem'; import MenuItem from '@material-ui/core/MenuItem';
......
...@@ -2,7 +2,7 @@ import React from 'react'; ...@@ -2,7 +2,7 @@ import React from 'react';
import DownshiftMultiple from './DownshiftMultiple'; import DownshiftMultiple from './DownshiftMultiple';
import MyComponent from '../MyComponent' import MyComponent from '../MyComponent'
import { connect } from "react-redux"; import {connect} from "react-redux";
import _ from 'underscore'; import _ from 'underscore';
import { saveSelectedUniversities, saveFilterConfig } from '../../actions/filter'; import { saveSelectedUniversities, saveFilterConfig } from '../../actions/filter';
import ExpansionPanel from '@material-ui/core/ExpansionPanel'; import ExpansionPanel from '@material-ui/core/ExpansionPanel';
...@@ -10,7 +10,7 @@ import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary'; ...@@ -10,7 +10,7 @@ import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary';
import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails'; import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import { import {
......
import React, { Component, forwardRef } from 'react'; import React, { Component, forwardRef } from 'react';
import { connect } from "react-redux"; import {connect} from "react-redux";
import { Marker, Popup } from 'react-leaflet'; import { Marker, Popup } from 'react-leaflet';
// import MarkerClusterGroup from 'react-leaflet-markercluster'; // import MarkerClusterGroup from 'react-leaflet-markercluster';
import UnivPopupContent from './UnivPopupContent'; import UnivPopupContent from './UnivPopupContent';
......
import React from 'react'; import React from 'react';
import MyComponent from '../MyComponent' import MyComponent from '../MyComponent'
import { connect } from "react-redux"; import {connect} from "react-redux";
import { Map, TileLayer, LayersControl, LayerGroup } from 'react-leaflet'; import { Map, TileLayer, LayersControl, LayerGroup } from 'react-leaflet';
import UnivMarkers from './UnivMakers'; import UnivMarkers from './UnivMakers';
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect } from "react-redux"; import {connect} from "react-redux";
import CachedIcon from '@material-ui/icons/Cached'; import CachedIcon from '@material-ui/icons/Cached';
import IconButton from '@material-ui/core/IconButton'; import IconButton from '@material-ui/core/IconButton';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import { import {
universitiesInvalidated universitiesInvalidated
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import Card from '@material-ui/core/Card'; import Card from '@material-ui/core/Card';
import CardActionArea from '@material-ui/core/CardActionArea'; import CardActionArea from '@material-ui/core/CardActionArea';
import CardActions from '@material-ui/core/CardActions'; import CardActions from '@material-ui/core/CardActions';
...@@ -10,7 +10,7 @@ import Typography from '@material-ui/core/Typography'; ...@@ -10,7 +10,7 @@ import Typography from '@material-ui/core/Typography';
import Divider from '@material-ui/core/Divider'; import Divider from '@material-ui/core/Divider';
import IconAdd from '@material-ui/icons/Add'; import IconAdd from '@material-ui/icons/Add';
import IconClose from '@material-ui/icons/Close'; import IconClose from '@material-ui/icons/Close';
import { Link } from 'react-router-dom'; import Link from 'react-router-dom/Link';
import MyCardMedia from './MyCardMedia'; import MyCardMedia from './MyCardMedia';
import { withLeaflet } from 'react-leaflet'; import { withLeaflet } from 'react-leaflet';
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import CircularProgress from '@material-ui/core/CircularProgress'; import CircularProgress from '@material-ui/core/CircularProgress';
const styles = theme => ({ const styles = theme => ({
......
import React from 'react'; import React from 'react';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import { lighten, darken } from '@material-ui/core/styles/colorManipulator'; import { lighten, darken } from '@material-ui/core/styles/colorManipulator';
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import Paper from '@material-ui/core/Paper'; import Paper from '@material-ui/core/Paper';
import Markdown from '../shared/Markdown'; import Markdown from '../shared/Markdown';
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid'; import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import UnivMap from '../map/UnivMap'; import UnivMap from '../map/UnivMap';
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid'; import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import Search from '../search/Search'; import Search from '../search/Search';
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid'; import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import Settings from '../settings/Settings'; import Settings from '../settings/Settings';
......
...@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; ...@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import Paper from '@material-ui/core/Paper'; import Paper from '@material-ui/core/Paper';
import MyComponent from '../MyComponent'; import MyComponent from '../MyComponent';
import { connect } from "react-redux"; import {connect} from "react-redux";
import Dialog from '@material-ui/core/Dialog'; import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions'; import DialogActions from '@material-ui/core/DialogActions';
import DialogTitle from '@material-ui/core/DialogTitle'; import DialogTitle from '@material-ui/core/DialogTitle';
......
...@@ -3,12 +3,12 @@ import TextField from '@material-ui/core/TextField'; ...@@ -3,12 +3,12 @@ import TextField from '@material-ui/core/TextField';
import Paper from '@material-ui/core/Paper'; import Paper from '@material-ui/core/Paper';
import MyComponent from '../MyComponent' import MyComponent from '../MyComponent'
import { connect } from "react-redux"; import {connect} from "react-redux";
import fuzzysort from 'fuzzysort'; import fuzzysort from 'fuzzysort';
import UnivList from './UnivList'; import UnivList from './UnivList';
import _ from 'underscore'; import _ from 'underscore';
// import { saveSelectedUniversities, saveSearchConfig } from '../../actions/filter'; // import { saveSelectedUniversities, saveSearchConfig } from '../../actions/filter';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import { import {
universitiesFetchData, universitiesFetchData,
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import MobileStepper from '@material-ui/core/MobileStepper'; import MobileStepper from '@material-ui/core/MobileStepper';
import List from '@material-ui/core/List'; import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem'; import ListItem from '@material-ui/core/ListItem';
......
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import AppBar from '@material-ui/core/AppBar'; import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar'; import Toolbar from '@material-ui/core/Toolbar';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';
......
...@@ -5,7 +5,7 @@ import React from 'react'; ...@@ -5,7 +5,7 @@ import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import compose from 'recompose/compose'; import compose from 'recompose/compose';
import { withStyles } from '@material-ui/core/styles'; import withStyles from '@material-ui/core/styles/withStyles';
import * as colors from '@material-ui/core/colors'; import * as colors from '@material-ui/core/colors';
import Grid from '@material-ui/core/Grid'; import Grid from '@material-ui/core/Grid';
import Radio from '@material-ui/core/Radio'; import Radio from '@material-ui/core/Radio';
......
import React from 'react'; import React from 'react';
import MyComponent from '../MyComponent' import MyComponent from '../MyComponent'
import { connect } from "react-redux"; import {connect} from "react-redux";
import _ from 'underscore'; import _ from 'underscore';
import ColorTools from './ColorTools'; import ColorTools from './ColorTools';
// import { saveSelectedUniversities, saveSettingsConfig } from '../../actions/Settings'; // import { saveSelectedUniversities, saveSettingsConfig } from '../../actions/Settings';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment