mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 17:25:03 +03:00
Background gradients, migrate from CSS to SCSS, remove !important
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { currentModalSelector } from '../selectors';
|
||||
import App from '../components/App';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const currentModal = currentModalSelector(state);
|
||||
|
||||
return {
|
||||
currentModal,
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(App);
|
||||
@@ -1,14 +0,0 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { isAppInitializingSelector } from '../selectors';
|
||||
import AppWrapper from '../components/AppWrapper';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const isAppInitializing = isAppInitializingSelector(state);
|
||||
|
||||
return {
|
||||
isInitializing: isAppInitializing,
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(AppWrapper);
|
||||
16
client/src/containers/CoreContainer.js
Executable file
16
client/src/containers/CoreContainer.js
Executable file
@@ -0,0 +1,16 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { currentModalSelector, currentProjectSelector } from '../selectors';
|
||||
import Core from '../components/Core';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const currentModal = currentModalSelector(state);
|
||||
const currentProject = currentProjectSelector(state);
|
||||
|
||||
return {
|
||||
currentModal,
|
||||
currentProject,
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(Core);
|
||||
14
client/src/containers/CoreWrapperContainer.js
Executable file
14
client/src/containers/CoreWrapperContainer.js
Executable file
@@ -0,0 +1,14 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { isCoreInitializingSelector } from '../selectors';
|
||||
import CoreWrapper from '../components/CoreWrapper';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const isCoreInitializing = isCoreInitializingSelector(state);
|
||||
|
||||
return {
|
||||
isInitializing: isCoreInitializing,
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(CoreWrapper);
|
||||
@@ -1,7 +1,7 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { pathSelector } from '../selectors';
|
||||
import FixedWrapper from '../components/FixedWrapper';
|
||||
import Fixed from '../components/Fixed';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { projectId } = pathSelector(state);
|
||||
@@ -11,4 +11,4 @@ const mapStateToProps = (state) => {
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(FixedWrapper);
|
||||
export default connect(mapStateToProps)(Fixed);
|
||||
@@ -1,7 +1,7 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { pathSelector } from '../selectors';
|
||||
import StaticWrapper from '../components/StaticWrapper';
|
||||
import Static from '../components/Static';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { cardId, boardId, projectId } = pathSelector(state);
|
||||
@@ -13,4 +13,4 @@ const mapStateToProps = (state) => {
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(StaticWrapper);
|
||||
export default connect(mapStateToProps)(Static);
|
||||
Reference in New Issue
Block a user