From b671f7bb8d2b0819e48ef6ab5f23109c410816b3 Mon Sep 17 00:00:00 2001 From: George Lima Date: Mon, 10 Dec 2018 18:23:21 -0300 Subject: [PATCH] hotfix: add normalize styles in docz wrapper --- app/theme.js | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/app/theme.js b/app/theme.js index 2fa6394..f3a575e 100644 --- a/app/theme.js +++ b/app/theme.js @@ -1,5 +1,5 @@ // @flow -import React from 'react'; +import React, { Fragment } from 'react'; import theme from 'styled-theming'; import { ThemeProvider, createGlobalStyle } from 'styled-components'; // $FlowFixMe @@ -40,10 +40,17 @@ const appTheme = { }, }; -/* eslint-disable react/prop-types */ -// $FlowFixMe -export const DoczWrapper = ({ children }) => {children()}; - export const GlobalStyle = createGlobalStyle`${[normalize()]}`; +/* eslint-disable react/prop-types */ +// $FlowFixMe +export const DoczWrapper = ({ children }) => ( + + + + {children()} + + +); + export default appTheme;