diff --git a/web/app/components/header/index.tsx b/web/app/components/header/index.tsx index ef24d471e0..e43a8bfa25 100644 --- a/web/app/components/header/index.tsx +++ b/web/app/components/header/index.tsx @@ -35,6 +35,7 @@ const Header = () => { const { setShowPricingModal, setShowAccountSettingModal } = useModalContext() const systemFeatures = useGlobalPublicStore(s => s.systemFeatures) const isFreePlan = plan.type === Plan.sandbox + const isBrandingEnabled = systemFeatures.branding.enabled const handlePlanClick = useCallback(() => { if (isFreePlan) setShowPricingModal() @@ -42,20 +43,27 @@ const Header = () => { setShowAccountSettingModal({ payload: ACCOUNT_SETTING_TAB.BILLING }) }, [isFreePlan, setShowAccountSettingModal, setShowPricingModal]) + const renderLogo = () => ( +