fix eslint

This commit is contained in:
plebeius.eth
2024-05-17 16:12:50 +02:00
parent 474dede5db
commit 25e261bb55
2 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ const PostFormTable = ({ closeForm }: { closeForm: () => void }) => {
resetFields();
closeForm();
}
}, [replyIndex, resetContent]);
}, [replyIndex, resetContent, closeForm]);
return (
<table className={styles.postFormTable}>
+10 -11
View File
@@ -89,17 +89,16 @@ const Board = () => {
{feed.length > 0 && (
<>
{rules && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />}
{(description && description.length > 0) ||
(isInAllView && (
<SubplebbitDescription
avatarUrl={suggested?.avatarUrl}
subplebbitAddress={subplebbitAddress}
createdAt={createdAt}
description={description}
shortAddress={shortAddress}
title={title}
/>
))}
{((description && description.length > 0) || isInAllView) && (
<SubplebbitDescription
avatarUrl={suggested?.avatarUrl}
subplebbitAddress={subplebbitAddress}
createdAt={createdAt}
description={description}
shortAddress={shortAddress}
title={title}
/>
)}
</>
)}
<Virtuoso