Use null instead of an empty string for closed sidebar

[MAILPOET-2450]
This commit is contained in:
Rostislav Wolny
2019-11-05 12:21:46 +01:00
committed by Jack Kitterhing
parent 624f79b89c
commit 8aef0d3b74

View File

@@ -26,7 +26,7 @@ export default () => {
</div>
</div>
<div>
{ sidebarOpened ? <Sidebar /> : '' }
{ sidebarOpened ? <Sidebar /> : null }
</div>
</div>
);