mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Description should never return null
This commit is contained in:
parent
edae92b0a5
commit
22d9bf3cb7
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ interface Props {
|
|||
desriptionSourceUrl: string;
|
||||
};
|
||||
|
||||
export const Description = (props: Props): JSX.Element | null =>
|
||||
export const Description = (props: Props): JSX.Element =>
|
||||
props.desriptionSourceUrl
|
||||
? <blockquote cite={props.desriptionSourceUrl}>{props.desription}</blockquote>
|
||||
: <p>{props.desription}</p>;
|
||||
Loading…
Reference in a new issue