Fix linter error

This commit is contained in:
Bero 2023-09-28 20:49:22 +02:00
parent ff8d1db005
commit 3de2a2bf3d
1 changed files with 2 additions and 6 deletions

View File

@ -144,19 +144,15 @@ export default function MySubscriptions(): JSX.Element {
if ( subscription.local.version === subscription.version ) {
return subscription.local.version;
}
if ( subscription.local.version && subscription.version ) {
return subscription.local.version + ' > ' + subscription.version;
}
if ( subscription.version ) {
return subscription.version;
}
if ( subscription.local.version ) {
if ( subscription.local.version ) {
return subscription.local.version;
}
return '';
};