mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 19:23:13 +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);
|
||||
};
|
||||
|
||||
_setStateAndFocus = (state, callback = ()=> {}) => {
|
||||
_setStateAndFocus = (state, callback = () => {}) => {
|
||||
this.setState(state, () => {
|
||||
this._focusSelf();
|
||||
callback();
|
||||
|
|
|
@ -41,7 +41,7 @@ class ModalStore extends NylasStore {
|
|||
});
|
||||
};
|
||||
|
||||
openModal = ({component, height, width}, callback = ()=> {}) => {
|
||||
openModal = ({component, height, width}, callback = () => {}) => {
|
||||
const props = {
|
||||
height: height,
|
||||
width: width,
|
||||
|
|
|
@ -37,7 +37,7 @@ class PopoverStore extends NylasStore {
|
|||
});
|
||||
};
|
||||
|
||||
openPopover = (element, {originRect, direction, fallbackDirection, callback = ()=> {}}) => {
|
||||
openPopover = (element, {originRect, direction, fallbackDirection, callback = () => {}}) => {
|
||||
const props = {
|
||||
direction,
|
||||
originRect,
|
||||
|
|
Loading…
Reference in a new issue