refactor: improve Torbox tab label rendering

This commit is contained in:
Hachi-R 2025-02-16 17:53:12 -03:00
parent cc14562edd
commit f7acb44265

View file

@ -36,20 +36,20 @@ export default function Settings() {
},
...(isTorboxEnabled
? [
{
tabLabel: (
<>
<img
src={torBoxLogo}
alt="TorBox"
style={{ width: 13, height: 13 }}
/>{" "}
Torbox
</>
),
contentTitle: "TorBox",
},
]
{
tabLabel: (
<>
<img
src={torBoxLogo}
alt="TorBox"
style={{ width: 13, height: 13 }}
/>{" "}
Torbox
</>
),
contentTitle: "TorBox",
},
]
: []),
{ tabLabel: "Real-Debrid", contentTitle: "Real-Debrid" },
];