🚚 move preferences creators to components/Preferences
This commit is contained in:
parent
f3bedb0932
commit
ccbe96dfc2
4 changed files with 5 additions and 5 deletions
|
@ -7,9 +7,9 @@ import { withTranslation } from 'react-i18next';
|
||||||
// import { connect } from 'react-redux';
|
// import { connect } from 'react-redux';
|
||||||
// import * as PreferencesActions from '../actions/preferences';
|
// import * as PreferencesActions from '../actions/preferences';
|
||||||
|
|
||||||
import PlusIcon from '../../../images/plus.svg';
|
import PlusIcon from '../../../../images/plus.svg';
|
||||||
import MinusIcon from '../../../images/minus.svg';
|
import MinusIcon from '../../../../images/minus.svg';
|
||||||
import beepUrl from '../../../sounds/audioAlert.mp3';
|
import beepUrl from '../../../../sounds/audioAlert.mp3';
|
||||||
|
|
||||||
class Preferences extends React.Component {
|
class Preferences extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
|
@ -10,7 +10,7 @@ import Editor from '../components/Editor';
|
||||||
import Sidebar from '../components/Sidebar';
|
import Sidebar from '../components/Sidebar';
|
||||||
import PreviewFrame from '../components/PreviewFrame';
|
import PreviewFrame from '../components/PreviewFrame';
|
||||||
import Toolbar from '../components/Toolbar';
|
import Toolbar from '../components/Toolbar';
|
||||||
import Preferences from '../components/Preferences';
|
import Preferences from '../components/Preferences/index';
|
||||||
import NewFileModal from '../components/NewFileModal';
|
import NewFileModal from '../components/NewFileModal';
|
||||||
import NewFolderModal from '../components/NewFolderModal';
|
import NewFolderModal from '../components/NewFolderModal';
|
||||||
import UploadFileModal from '../components/UploadFileModal';
|
import UploadFileModal from '../components/UploadFileModal';
|
||||||
|
|
|
@ -14,7 +14,7 @@ import Header from '../../components/mobile/Header';
|
||||||
import PreferencePicker from '../../components/mobile/PreferencePicker';
|
import PreferencePicker from '../../components/mobile/PreferencePicker';
|
||||||
import { ExitIcon } from '../../common/icons';
|
import { ExitIcon } from '../../common/icons';
|
||||||
import { remSize, prop } from '../../theme';
|
import { remSize, prop } from '../../theme';
|
||||||
import { optionsOnOff, optionsPickOne, preferenceOnOff } from '../../common/helpers/PreferenceCreators';
|
import { optionsOnOff, optionsPickOne, preferenceOnOff } from '../IDE/components/Preferences/PreferenceCreators';
|
||||||
|
|
||||||
const Content = styled.div`
|
const Content = styled.div`
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
Loading…
Reference in a new issue