Skip to content

Commit ab29461

Browse files
Replace Root container with BaseLayout layout component
GH-66
1 parent a7d283c commit ab29461

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/pages/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
import React, { Fragment } from "react";
1010

11-
import Root from "containers/core/Root";
11+
import BaseLayout from "layouts/core/BaseLayout";
1212

1313
/**
1414
* The landing page component representing the root/index of the site.
@@ -18,9 +18,9 @@ import Root from "containers/core/Root";
1818
* @since 0.1.0
1919
*/
2020
const Landing = () => (
21-
<Root>
21+
<BaseLayout>
2222
<Fragment />
23-
</Root>
23+
</BaseLayout>
2424
);
2525

2626
export default Landing;
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`snapshot 1`] = `<div />`;
3+
exports[`snapshot 1`] = `
4+
<div>
5+
<main
6+
class="sc-bdVaJa eYFyfX"
7+
/>
8+
</div>
9+
`;

0 commit comments

Comments
 (0)