fixing landing page layout on server render

Summary:
On the first render the landing page was missing a CSS class. This ls probably related to https://github.com/gatsbyjs/gatsby/issues/5136
It is fixed by wrapping the page in a <div>

Reviewed By: priteshrnandgaonkar

Differential Revision: D8660801

fbshipit-source-id: dd1ac4145831f2556e2c7ceeaddb2a423447f833
This commit is contained in:
Daniel Büchele
2018-07-03 10:05:28 -07:00
committed by Facebook Github Bot
parent f4d29e6f11
commit 7c4319181b
4 changed files with 16 additions and 8 deletions

View File

@@ -19,6 +19,7 @@ import PositionRecord from './PositionRecord';
import LayoutRecord from './LayoutRecord';
import Sidebar from './Sidebar';
import {Row, Col, Button} from 'antd';
import btoa from 'btoa';
import type {LayoutRecordT} from './LayoutRecord';
import type {Yoga$Direction} from 'yoga-layout';
import './index.css';