Skip to content

Commit 205c7d1

Browse files
committed
fix: missing pages
1 parent 8af33c9 commit 205c7d1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/app/containers/App.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import {ITranslator} from "../models/TranslatorInterfaces";
1212
import {IStore} from "../redux/IStore";
1313
import {translationsSelector} from "../selectors/translationsSelector";
1414
import {AboutPage} from "./AboutPage";
15+
import {CounterPage} from "./CounterPage";
1516
import {HomePage} from "./HomePage";
17+
import {StarsPage} from "./StarsPage";
1618

1719
const appConfig = require("../../../config/main");
1820

@@ -36,7 +38,9 @@ const classNames = {
3638
class 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
);

0 commit comments

Comments
 (0)