Skip to content

Commit 699832f

Browse files
Merge pull request #24 from ChristianEdwardPadilla/development
some comments
2 parents d927ede + 840947e commit 699832f

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

src/containers/MainContainer.jsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,19 @@ class MainContainer extends Component {
5858

5959
componentDidMount() {}
6060

61-
increaseHeight = () => {
62-
this.setState({
63-
scaleX: this.state.scaleX * 1.5,
64-
scaleY: this.state.scaleY * 1.5,
65-
});
66-
};
61+
// increaseHeight = () => {
62+
// this.setState({
63+
// scaleX: this.state.scaleX * 1.5,
64+
// scaleY: this.state.scaleY * 1.5,
65+
// });
66+
// };
6767

68-
decreaseHeight = () => {
69-
this.setState({
70-
scaleX: this.state.scaleX * 0.75,
71-
scaleY: this.state.scaleY * 0.75,
72-
});
73-
};
68+
// decreaseHeight = () => {
69+
// this.setState({
70+
// scaleX: this.state.scaleX * 0.75,
71+
// scaleY: this.state.scaleY * 0.75,
72+
// });
73+
// };
7474

7575
toggleDrag = () => {
7676
this.props.toggleComponentDragging(this.state.draggable);

src/containers/RightContainer.jsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import React, { Component } from 'react';
22
import { connect } from 'react-redux';
33
// import PropTypes from 'prop-types';
4-
import {
5-
handleClose,
6-
deleteCompProp,
7-
addCompProp,
8-
} from '../actions/components';
4+
import { handleClose, deleteCompProp, addCompProp } from '../actions/components';
95
// import Snackbars from '../components/Snackbars.jsx';
106
// import RightTabs from '../components/RightTabs.jsx';
117

@@ -27,11 +23,11 @@ class RightContainer extends Component {
2723
state = {
2824
successOpen: false,
2925
errorOpen: false,
30-
}
26+
};
3127

3228
viewAppDir = () => {
3329
IPC.send('view_app_dir', this.props.appDir);
34-
}
30+
};
3531

3632
render() {
3733
const {
@@ -47,7 +43,7 @@ class RightContainer extends Component {
4743
} = this.props;
4844

4945
return (
50-
<div className='column-right' style={{ width: `${this.props.width}%` }} >
46+
<div className="column-right" style={{ width: `${this.props.width}%` }}>
5147
{/* <RightTabs
5248
components={components}
5349
focusComponent={focusComponent}
@@ -80,5 +76,7 @@ class RightContainer extends Component {
8076
// rightColumnOpen: PropTypes.bool.isRequired,
8177
// };
8278

83-
84-
export default connect(mapStateToProps, mapDispatchToProps)(RightContainer);
79+
export default connect(
80+
mapStateToProps,
81+
mapDispatchToProps,
82+
)(RightContainer);

0 commit comments

Comments
 (0)