Skip to content

Commit

Permalink
Chore: Replace recompose (#27)
Browse files Browse the repository at this point in the history
* Replace recompose

* Import from the correct library

* Specify "required" peer dependencies

* Bump patch
  • Loading branch information
chawes13 authored Jul 20, 2022
1 parent 2fb396a commit 7b70797
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ionic-template/views/SubSectionShow.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React /*, { useEffect } */ from 'react'
// import PropTypes from 'prop-types'
import { compose } from 'recompose'
import { compose } from 'redux'
import { connect } from 'react-redux'
import { useParams } from 'react-router-dom'
import { IonItem, IonLabel, IonList, IonListHeader } from '@ionic/react'
Expand Down
2 changes: 1 addition & 1 deletion ionic-template/views/SubSections.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React /*, { useEffect } */ from 'react'
// import PropTypes from 'prop-types'
// import * as Types from 'types'
import { compose } from 'recompose'
import { compose } from 'redux'
import { connect } from 'react-redux'
import { IonItem, IonLabel, IonList, IonListHeader } from '@ionic/react'
// import { LoadingModal } from 'components'
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpadlab/lp-subsection-generator",
"version": "7.1.0",
"version": "7.1.1",
"description": "",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -30,7 +30,10 @@
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-router-dom": "^4.0.0 || ^5.0.0"
"react-redux": "^7.2.8",
"react-router-dom": "^4.0.0 || ^5.0.0",
"redux": "^4.1.2",
"redux-actions": "^2.6.5"
},
"optionalDependencies": {
"@ionic/react": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion template/views/SubSectionShow.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React /*, { useEffect } */ from 'react'
// import PropTypes from 'prop-types'
import { compose } from 'recompose'
import { compose } from 'redux'
import { connect } from 'react-redux'
// import { Spinner } from 'lp-components'
// import { connectParams } from 'lp-hoc'
Expand Down
2 changes: 1 addition & 1 deletion template/views/SubSections.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React /*, { useEffect } */ from 'react'
// import PropTypes from 'prop-types'
// import * as Types from 'types'
import { compose } from 'recompose'
import { compose } from 'redux'
import { connect } from 'react-redux'
// import { Spinner } from 'lp-components'
// import { selectors } from '../reducer'
Expand Down

0 comments on commit 7b70797

Please sign in to comment.