Skip to content

Commit 69d0410

Browse files
committed
Switch to using react-redux-resource imports
1 parent 2c4d484 commit 69d0410

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"react": "^16.0.0",
88
"react-dom": "^16.0.0",
99
"react-redux": "^5.0.5",
10+
"react-redux-resource": "0.0.1",
1011
"react-router-dom": "^4.1.1",
1112
"react-scripts": "1.0.10",
1213
"redux": "^3.7.1",
13-
"redux-resource": "^2.4.0",
1414
"redux-resource-plugins": "^2.1.0",
1515
"redux-resource-xhr": "^3.0.0",
1616
"redux-thunk": "^2.2.0",

src/components/CreateGist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
22
import { bindActionCreators } from 'redux';
33
import { connect } from 'react-redux';
44
import { Link } from 'react-router-dom';
5-
import { getStatus, getResources } from 'redux-resource';
5+
import { getStatus, getResources } from 'react-redux-resource';
66
import { createGist, resetCreateGistStatus } from '../state/gists/action-creators';
77

88
class CreateGist extends Component {

src/components/Gist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import { bindActionCreators } from 'redux';
33
import { connect } from 'react-redux';
4-
import { getStatus } from 'redux-resource';
4+
import { getStatus } from 'react-redux-resource';
55
import _ from 'lodash';
66
import './Gist.css';
77
import {

src/components/Gists.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
22
import { bindActionCreators } from 'redux';
33
import { connect } from 'react-redux';
44
import { Link } from 'react-router-dom';
5-
import { getResources, getStatus } from 'redux-resource';
5+
import { getResources, getStatus } from 'react-redux-resource';
66
import './Gists.css';
77
import { readManyUsersGists } from '../state/gists/action-creators';
88
import login from '../personal-access-token';

src/state/gists/action-creators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { actionTypes } from 'redux-resource';
1+
import { actionTypes } from 'react-redux-resource';
22
import { crudRequest } from 'redux-resource-xhr';
33
import headers from '../../utils/headers';
44

src/state/gists/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { resourceReducer } from 'redux-resource';
1+
import { resourceReducer } from 'react-redux-resource';
22
import { httpStatusCodes } from 'redux-resource-plugins';
33

44
export default resourceReducer('gists', {

0 commit comments

Comments
 (0)