Commit 81f10fe3 authored by Florent Chehab's avatar Florent Chehab
Browse files

Reorganized all js files, everything should be broken now :D

parent 137f3e7a
import React, { Component } from "react"; import React, { Component } from "react";
import { openFullScreenDialog, closeFullScreenDialog } from "../../../actions/fullScreenDialog"; import { openFullScreenDialog, closeFullScreenDialog } from "../../../../actions/fullScreenDialog";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import withStyles from "@material-ui/core/styles/withStyles"; import withStyles from "@material-ui/core/styles/withStyles";
...@@ -18,12 +18,12 @@ import MobileStepper from "@material-ui/core/MobileStepper"; ...@@ -18,12 +18,12 @@ import MobileStepper from "@material-ui/core/MobileStepper";
import KeyboardArrowLeft from "@material-ui/icons/KeyboardArrowLeft"; import KeyboardArrowLeft from "@material-ui/icons/KeyboardArrowLeft";
import KeyboardArrowRight from "@material-ui/icons/KeyboardArrowRight"; import KeyboardArrowRight from "@material-ui/icons/KeyboardArrowRight";
import Loading from "../../other/Loading"; import Loading from "../../../other/Loading";
import dateTimeStrToStr from "../../../utils/dateTimeStrToStr"; import dateTimeStrToStr from "../../../../utils/dateTimeStrToStr";
import editorStyle from "./editorStyle"; import editorStyle from "../../editors/utils/editorStyle";
import getActions from "../../../api/getActions"; import getActions from "../../../../api/getActions";
......
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import CustomComponentForAPI from "../../CustomComponentForAPI"; import CustomComponentForAPI from "../../../common/CustomComponentForAPI";
/** /**
* @class Module * @class Module
......
...@@ -14,10 +14,10 @@ import Divider from "@material-ui/core/Divider"; ...@@ -14,10 +14,10 @@ import Divider from "@material-ui/core/Divider";
import AddIcon from "@material-ui/icons/Add"; import AddIcon from "@material-ui/icons/Add";
import getActions from "../../../api/getActions"; import getActions from "../../../../api/getActions";
import green from "@material-ui/core/colors/green"; import green from "@material-ui/core/colors/green";
import CustomComponentForAPI from "../../CustomComponentForAPI"; import CustomComponentForAPI from "../../../CustomComponentForAPI";
const styles = theme => ({ const styles = theme => ({
root: { root: {
......
...@@ -10,11 +10,11 @@ import red from "@material-ui/core/colors/red"; ...@@ -10,11 +10,11 @@ import red from "@material-ui/core/colors/red";
import orange from "@material-ui/core/colors/orange"; import orange from "@material-ui/core/colors/orange";
import green from "@material-ui/core/colors/green"; import green from "@material-ui/core/colors/green";
import CustomComponentForAPI from "../../CustomComponentForAPI"; import CustomComponentForAPI from "../../../common/CustomComponentForAPI";
import isModerationRequired from "../../../utils/isModerationRequired"; import isModerationRequired from "../../../../utils/isModerationRequired";
import Alert from "./Alert"; import Alert from "../../utils/Alert";
import getActions from "../../../api/getActions"; import getActions from "../../../../api/getActions";
import renderUsefulLinks from "./moduleWrapperFunctions/renderUsefulLinks"; import renderUsefulLinks from "./moduleWrapperFunctions/renderUsefulLinks";
......
import React, { Component } from "react"; import React, { Component } from "react";
import { connect } from "react-redux"; import { connect } from "react-redux";
import { openFullScreenDialog, closeFullScreenDialog } from "../../../actions/fullScreenDialog"; import { openFullScreenDialog, closeFullScreenDialog } from "../../../../actions/fullScreenDialog";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import withStyles from "@material-ui/core/styles/withStyles"; import withStyles from "@material-ui/core/styles/withStyles";
...@@ -14,7 +14,7 @@ import Typography from "@material-ui/core/Typography"; ...@@ -14,7 +14,7 @@ import Typography from "@material-ui/core/Typography";
import CloseIcon from "@material-ui/icons/Close"; import CloseIcon from "@material-ui/icons/Close";
import Divider from "@material-ui/core/Divider"; import Divider from "@material-ui/core/Divider";
import editorStyle from "./editorStyle"; import editorStyle from "../../editors/utils/editorStyle";
const styles = theme => ({ const styles = theme => ({
...editorStyle(theme), ...editorStyle(theme),
......
...@@ -2,8 +2,8 @@ import React from "react"; ...@@ -2,8 +2,8 @@ import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import withStyles from "@material-ui/core/styles/withStyles"; import withStyles from "@material-ui/core/styles/withStyles";
import Markdown from "../../shared/Markdown"; import Markdown from "../../../shared/Markdown";
import moneyConversion from "../../../utils/convertAmountToEur"; import moneyConversion from "../../../../utils/convertAmountToEur";
import Typography from "@material-ui/core/Typography"; import Typography from "@material-ui/core/Typography";
const styles = theme => { const styles = theme => {
......
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