Skip to content

Commit

Permalink
Fixed mobx ES6 import warning (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
pastelsky authored and zalmoxisus committed Jun 26, 2017
1 parent 28148a7 commit 579a4d7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/simple-todo/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
import mobx from 'mobx';
import * as mobx from 'mobx';
import mobxReact from 'mobx-react';
import remotedev from 'mobx-remotedev/lib/dev';

Expand Down
2 changes: 1 addition & 1 deletion src/dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mobx from 'mobx';
import * as mobx from 'mobx';
import spy from './spy';
import getDecorator from './getDecorator';

Expand Down
2 changes: 1 addition & 1 deletion src/getDecorator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mobx from 'mobx';
import * as mobx from 'mobx';

export default function getDecorator(func) {
return (storeOrConfig, config) => {
Expand Down
2 changes: 1 addition & 1 deletion src/monitorActions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mobx from 'mobx';
import * as mobx from 'mobx';
import { stringify, parse } from 'jsan';
import { getMethods, evalMethod } from 'remotedev-utils';
import { silently, setValue } from './utils';
Expand Down
2 changes: 1 addition & 1 deletion src/spy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mobx from 'mobx';
import * as mobx from 'mobx';
import { connectViaExtension } from 'remotedev';
import { createAction, getName } from './utils';
import { isFiltered } from './filters';
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mobx from 'mobx';
import * as mobx from 'mobx';

const getPayload = (change) => {
const { added, addedCount, index, removed, removedCount } = change;
Expand Down

0 comments on commit 579a4d7

Please sign in to comment.