Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
fix(SSR): Fixed SSR routes
Browse files Browse the repository at this point in the history
Fixed routing for server sde rendering
  • Loading branch information
FDiskas committed Dec 25, 2017
1 parent 5a952c5 commit d0da471
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/client/pages/demo/DemoPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react';

import * as styles from './DemoPage.scss';
import AppContainer from '../../containers/AppContainer';
import { addCheckbox } from '../../modules/checkbox/actions';

export interface IDemoPageProps {
}
Expand All @@ -18,7 +19,7 @@ export class DemoPage extends React.Component<IDemoPageProps, IDemoPageState> {
return (
<main className={styles.page}>
Component name: DemoPage
<AppContainer />
<AppContainer addAction={addCheckbox} items={[]} />
</main>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ exports[`DemoPage.js matches snapshot 1`] = `
className="page"
>
Component name: DemoPage
<Connect(App) />
<Connect(App)
addAction={[Function]}
items={Array []}
/>
</main>
`;

0 comments on commit d0da471

Please sign in to comment.