mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-13 03:29:46 +08:00
feat(babel6): 1,770 linter errors
This commit is contained in:
parent
b812a93850
commit
68cc2d4e60
3 changed files with 3 additions and 3 deletions
|
@ -163,7 +163,7 @@ class EditableList extends Component {
|
||||||
this._setStateAndFocus({creatingItem: false}, callback);
|
this._setStateAndFocus({creatingItem: false}, callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
_setStateAndFocus = (state, callback = ()=> {}) => {
|
_setStateAndFocus = (state, callback = () => {}) => {
|
||||||
this.setState(state, () => {
|
this.setState(state, () => {
|
||||||
this._focusSelf();
|
this._focusSelf();
|
||||||
callback();
|
callback();
|
||||||
|
|
|
@ -41,7 +41,7 @@ class ModalStore extends NylasStore {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
openModal = ({component, height, width}, callback = ()=> {}) => {
|
openModal = ({component, height, width}, callback = () => {}) => {
|
||||||
const props = {
|
const props = {
|
||||||
height: height,
|
height: height,
|
||||||
width: width,
|
width: width,
|
||||||
|
|
|
@ -37,7 +37,7 @@ class PopoverStore extends NylasStore {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
openPopover = (element, {originRect, direction, fallbackDirection, callback = ()=> {}}) => {
|
openPopover = (element, {originRect, direction, fallbackDirection, callback = () => {}}) => {
|
||||||
const props = {
|
const props = {
|
||||||
direction,
|
direction,
|
||||||
originRect,
|
originRect,
|
||||||
|
|
Loading…
Reference in a new issue