diff --git a/app/components/Article/index.tsx b/app/components/Article/index.tsx index fb613aa5..350c671a 100644 --- a/app/components/Article/index.tsx +++ b/app/components/Article/index.tsx @@ -146,7 +146,7 @@ export const Article = ({question, glossary, className}: ArticleProps) => { return (

{title}

- {question.banners?.map(Banner)} + {question.banners?.filter((b) => b.title).map(Banner)} diff --git a/app/components/Chatbot/index.tsx b/app/components/Chatbot/index.tsx index fdf9e522..b3e61a96 100644 --- a/app/components/Chatbot/index.tsx +++ b/app/components/Chatbot/index.tsx @@ -71,7 +71,7 @@ const QuestionInput = ({initial, onChange, onAsk}: QuestionInputProps) => { } return ( -
+
{results.length > 0 ? (