diff --git a/web/src/components/Description.tsx b/web/src/components/Description.tsx index bb21d5f52..cebafd8ae 100644 --- a/web/src/components/Description.tsx +++ b/web/src/components/Description.tsx @@ -1,7 +1,6 @@ -import React from "react"; - interface Props { - description: string; + description?: string; } -export const Description = (props: Props) =>
{props.description}
; +export const Description = (props: Props) => + props.description ?{props.description}
: null;