Skip to content

Commit a51f663

Browse files
small fix for example and dependencies
1 parent b5be4f4 commit a51f663

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

example/react-bootstrap/src/containers/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { confirm, confirmComplex } from 'util/confirm';
2+
import { confirm, confirmComplex } from '../util/confirm';
33

44
const handleOnClick = () => {
55
confirm('Are you sure?').then(() => {

example/react-bootstrap/src/util/confirm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Confirmation from 'components/Confirmation';
2-
import ComplexConfirmation from 'components/ComplexConfirmation';
1+
import Confirmation from '../components/Confirmation';
2+
import ComplexConfirmation from '../components/ComplexConfirmation';
33
import { createConfirmation } from 'react-confirm';
44

55
const defaultConfirmation = createConfirmation(Confirmation);

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@
3232
},
3333
"devDependencies": {
3434
"babel-cli": "^6.4.5",
35+
"babel-core": "^6.26.0",
36+
"babel-loader": "^6.4.1",
3537
"babel-preset-es2015": "^6.3.13",
3638
"babel-preset-react": "^6.3.13",
3739
"babel-preset-stage-0": "^6.3.13",
38-
"rimraf": "^2.5.1"
39-
}
40+
"rimraf": "^2.5.1",
41+
"webpack": "^1.15.0"
42+
},
43+
"dependencies": {}
4044
}

0 commit comments

Comments
 (0)