mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Remove page title
This commit is contained in:
parent
74c8f35786
commit
7960802332
2 changed files with 3 additions and 2 deletions
|
|
@ -37,7 +37,9 @@ describe('Application', () => {
|
|||
forEach(urlTitles, (title, url) => {
|
||||
const context = {};
|
||||
const body = render(url, context);
|
||||
expect(body).toMatch(`>${title}</h1>`);
|
||||
|
||||
// context.url will contain the URL to redirect to if a <Redirect> was used
|
||||
expect(context.url).not.toBeDefined();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ class PageLayout extends Component {
|
|||
</div>
|
||||
: null}
|
||||
<Topbar />
|
||||
<h1>{title}</h1>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue