diff --git a/.eslintrc b/.eslintrc index 6e8c96d..7ab2225 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,3 +1,8 @@ { - "extends": ["cantonjs/react"] + "extends": ["cantonjs/react"], + "settings": { + "import/resolver": { + "webpack": {} + } + } } diff --git a/demo/App.js b/demo/App.js index dfcc884..f291fb4 100644 --- a/demo/App.js +++ b/demo/App.js @@ -1,7 +1,10 @@ import React, { Component } from 'react'; -import { Form, Submit, Clear, ObjectOf, ArrayOf } from '../src'; +import { Form, Submit, Clear, ObjectOf, ArrayOf } from 'react-form-mobx'; import Input from './Input'; import Console from './Console'; +import GithubCorner from 'react-github-corner'; + +const projectURL = 'https://github.com/cantonjs/react-form-mobx'; export default class App extends Component { state = { @@ -38,6 +41,7 @@ export default class App extends Component { const { data, isValid } = this.state; return (