From 1a674885aeff1a3c9523d16a72a34e4ba0ce8019 Mon Sep 17 00:00:00 2001 From: Elian Ibaj Date: Wed, 28 Mar 2018 19:55:00 +0200 Subject: [PATCH] Fix body class (#521) --- lib/core/Site.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/Site.js b/lib/core/Site.js index c6f1060500e3..91b8209b0bb3 100644 --- a/lib/core/Site.js +++ b/lib/core/Site.js @@ -56,6 +56,8 @@ class Site extends React.Component { htmlElementProps = {}; } + const className = this.props.className || ''; + return (