Skip to content

Commit 1433127

Browse files
committed
fix bugs
1 parent d89ee26 commit 1433127

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

generators/app/templates/src/containers/CounterContainer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React from 'react'
22
import PropTypes from 'prop-types'
33
import Counter from '../components/Counter'
4-
import incrementIfOdd from '../actions/counter'
4+
import ActionTypes from '../constants/actionTypes'
5+
import { incrementIfOdd } from '../actions/counter'
56
import { connect } from 'react-redux'
67

78
class CounterContainer extends React.Component {

generators/app/templates/src/routes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import CounterContainer from '../containers/CounterContainer'
33
import Header from '../components/Header'
44
import { Router, Route, Switch } from 'react-router-dom'
5-
import createBrowserHistory from 'history/createBrowserHistory'
5+
import { createBrowserHistory } from 'history'
66
import styled from '@emotion/styled'
77

88
const Container = styled.div`

package-lock.json

Lines changed: 22 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)