mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
Update React Lint rules for TSX
(cherry picked from commit 1299a97579bec52ee3d16ab8d05c9e22edd80330)
This commit is contained in:
@@ -45,11 +45,12 @@ function About() {
|
||||
title={translate('PackageVersion')}
|
||||
data={
|
||||
packageAuthor ? (
|
||||
<span>
|
||||
{' '}
|
||||
{packageVersion} {' by '}{' '}
|
||||
<InlineMarkdown data={packageAuthor} />{' '}
|
||||
</span>
|
||||
<InlineMarkdown
|
||||
data={translate('PackageVersionInfo', {
|
||||
packageVersion,
|
||||
packageAuthor,
|
||||
})}
|
||||
/>
|
||||
) : (
|
||||
packageVersion
|
||||
)
|
||||
@@ -57,16 +58,16 @@ function About() {
|
||||
/>
|
||||
)}
|
||||
|
||||
{isNetCore && (
|
||||
{isNetCore ? (
|
||||
<DescriptionListItem
|
||||
title={translate('NetCore')}
|
||||
data={`Yes (${runtimeVersion})`}
|
||||
/>
|
||||
)}
|
||||
) : null}
|
||||
|
||||
{isDocker && (
|
||||
<DescriptionListItem title={translate('Docker')} data={'Yes'} />
|
||||
)}
|
||||
{isDocker ? (
|
||||
<DescriptionListItem title={translate('Docker')} data="Yes" />
|
||||
) : null}
|
||||
|
||||
<DescriptionListItem
|
||||
title={translate('Database')}
|
||||
|
||||
Reference in New Issue
Block a user