File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ import {ITranslator} from "../models/TranslatorInterfaces";
1212import { IStore } from "../redux/IStore" ;
1313import { translationsSelector } from "../selectors/translationsSelector" ;
1414import { AboutPage } from "./AboutPage" ;
15+ import { CounterPage } from "./CounterPage" ;
1516import { HomePage } from "./HomePage" ;
17+ import { StarsPage } from "./StarsPage" ;
1618
1719const appConfig = require ( "../../../config/main" ) ;
1820
@@ -36,7 +38,9 @@ const classNames = {
3638class App extends React . Component < IStateToProps > {
3739 private components : { [ key : string ] : React . ComponentClass } = {
3840 about : AboutPage ,
39- home : HomePage
41+ counter : CounterPage ,
42+ home : HomePage ,
43+ stars : StarsPage
4044 } ;
4145
4246 public render ( ) : JSX . Element {
@@ -64,7 +68,7 @@ const componentTranslationsSelector = createSelector(
6468 ( translations ) => {
6569 const translator : ITranslator = new Translator ( translations ) ;
6670 return {
67- notFound : translator . translate ( "Not Found " )
71+ notFound : translator . translate ( "Not found " )
6872 } ;
6973 }
7074) ;
You can’t perform that action at this time.
0 commit comments