1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-27 23:06:29 -04:00

Convert App to TypeScript

This commit is contained in:
Mark McDowall
2024-07-24 16:39:01 -07:00
committed by Mark McDowall
parent d46f4b2154
commit d6d90a64a3
18 changed files with 258 additions and 456 deletions
+1 -3
View File
@@ -198,8 +198,6 @@ function Updates() {
{hasUpdates && (
<div>
{items.map((update) => {
const hasChanges = !!update.changes;
return (
<div key={update.version} className={styles.update}>
<div className={styles.info}>
@@ -249,7 +247,7 @@ function Updates() {
) : null}
</div>
{hasChanges ? (
{update.changes ? (
<div>
<UpdateChanges
title={translate('New')}