Fix empty array not falsy bug

This commit is contained in:
Jorik Schellekens
2020-09-13 18:02:18 +01:00
parent 5f5eb60c02
commit 471c9cd21d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ const LinkPreview: React.FC<IProps> = ({ link }: IProps) => {
const hses = useHSs(link);
if (!hses) {
if (!hses.length) {
content = (
<>
<DefaultPreview link={link} />