mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Improve React Doctor score and badge (#1127)
* fix(react doctor): improve quality score and badge * fix(react doctor): address review feedback * fix(review): address final bot feedback
This commit is contained in:
@@ -286,13 +286,13 @@ const PostFormFields = ({
|
||||
<select aria-label={t('board')} onChange={(e) => setPublishPostOptions({ communityAddress: e.target.value })} value={communityAddress}>
|
||||
<option value=''>{t('choose_one')}</option>
|
||||
{isInAllView &&
|
||||
directories
|
||||
.filter((community) => community.title && community.address)
|
||||
.map((community) => (
|
||||
directories.map((community) =>
|
||||
community.title && community.address ? (
|
||||
<option key={community.address} value={community.address}>
|
||||
{community.title}
|
||||
</option>
|
||||
))}
|
||||
) : null,
|
||||
)}
|
||||
{isInModView &&
|
||||
accountCommunityAddresses.map((address: string) => (
|
||||
<option key={address} value={address}>
|
||||
|
||||
Reference in New Issue
Block a user