@@ -520,11 +520,11 @@ const mapDispatchToProps = (dispatch: Dispatch) => ({
520
520
import { connect } from ' react-redux' ;
521
521
522
522
import { RootState } from ' @src/redux' ;
523
- import { countersActions , CountersSelectors } from ' @src/redux/counters' ;
523
+ import { countersActions , countersSelectors } from ' @src/redux/counters' ;
524
524
import { SFCCounter } from ' @src/components' ;
525
525
526
526
const mapStateToProps = (state : RootState ) => ({
527
- count: CountersSelectors .getReduxCounter (state ),
527
+ count: countersSelectors .getReduxCounter (state ),
528
528
});
529
529
530
530
export const SFCCounterConnected = connect (mapStateToProps , {
@@ -596,15 +596,15 @@ export default () => (
596
596
import { connect } from ' react-redux' ;
597
597
598
598
import { RootState } from ' @src/redux' ;
599
- import { countersActions , CountersSelectors } from ' @src/redux/counters' ;
599
+ import { countersActions , countersSelectors } from ' @src/redux/counters' ;
600
600
import { SFCCounter } from ' @src/components' ;
601
601
602
602
export interface SFCCounterConnectedExtended {
603
603
initialCount: number ;
604
604
}
605
605
606
606
const mapStateToProps = (state : RootState , ownProps : SFCCounterConnectedExtended ) => ({
607
- count: CountersSelectors .getReduxCounter (state ) + ownProps .initialCount ,
607
+ count: countersSelectors .getReduxCounter (state ) + ownProps .initialCount ,
608
608
});
609
609
610
610
export const SFCCounterConnectedExtended = connect (mapStateToProps , {
0 commit comments