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(); resetFields();
closeForm(); closeForm();
} }
}, [replyIndex, resetContent]); }, [replyIndex, resetContent, closeForm]);
return ( return (
<table className={styles.postFormTable}> <table className={styles.postFormTable}>
+2 -3
View File
@@ -89,8 +89,7 @@ const Board = () => {
{feed.length > 0 && ( {feed.length > 0 && (
<> <>
{rules && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />} {rules && rules.length > 0 && <SubplebbitRules subplebbitAddress={subplebbitAddress} createdAt={createdAt} rules={rules} />}
{(description && description.length > 0) || {((description && description.length > 0) || isInAllView) && (
(isInAllView && (
<SubplebbitDescription <SubplebbitDescription
avatarUrl={suggested?.avatarUrl} avatarUrl={suggested?.avatarUrl}
subplebbitAddress={subplebbitAddress} subplebbitAddress={subplebbitAddress}
@@ -99,7 +98,7 @@ const Board = () => {
shortAddress={shortAddress} shortAddress={shortAddress}
title={title} title={title}
/> />
))} )}
</> </>
)} )}
<Virtuoso <Virtuoso