{
@@ -297,8 +300,7 @@ const EditLayoutNavbar = ({ editors, inPopover }) => {
{editors.map((item, index) => {item.caption})}
{isAndroid && }
-
:
- { editors[0].caption }
+ : { editors[0].caption }
}
{ !inPopover && }
@@ -306,6 +308,8 @@ const EditLayoutNavbar = ({ editors, inPopover }) => {
};
const EditLayoutContent = ({ editors }) => {
+ if(!editors.length) return null;
+
if (editors.length > 1) {
return (