From ded58eb1a18b7bdd0d2bd4e4fa114b5c06ab630f Mon Sep 17 00:00:00 2001 From: japhethLG Date: Wed, 26 Jun 2024 22:53:57 +0800 Subject: [PATCH] fix: Zesty.io Mindshare links falling back to old content/not displaying properly --- src/layouts/Main/Main.js | 1 + src/lib/ZestyView.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layouts/Main/Main.js b/src/layouts/Main/Main.js index adccd8689..a151737de 100644 --- a/src/layouts/Main/Main.js +++ b/src/layouts/Main/Main.js @@ -191,6 +191,7 @@ const Main = ({ isAuthenticated={isLoggedIn} userInfo={userInfo?.data} loading={loading} + cta={'Contact Sales'} /> )} diff --git a/src/lib/ZestyView.js b/src/lib/ZestyView.js index d2c07f1bb..9ea1a4bdb 100644 --- a/src/lib/ZestyView.js +++ b/src/lib/ZestyView.js @@ -46,7 +46,7 @@ export function ZestyView(props) { props.content.meta.layout?.json['layout:root:column:0']?.children, ) === '{}' ) { - return true; + return false; } // return only true if the layout is active and has components