diff --git a/src/components/NegativeNews/NegativeNews.tsx b/src/components/NegativeNews/NegativeNews.tsx index 3d4c020..f9c4b49 100644 --- a/src/components/NegativeNews/NegativeNews.tsx +++ b/src/components/NegativeNews/NegativeNews.tsx @@ -13,6 +13,10 @@ export interface NegativeNewsProps { export const NegativeNews: React.FunctionComponent = (props: NegativeNewsProps) => { + if (props.news && !props.news.result) { + return (<>) + } + const getContent = (): string => { if (!props.news) { return 'Pending'