mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
refactor: improve Torbox tab label rendering
This commit is contained in:
parent
cc14562edd
commit
f7acb44265
1 changed files with 14 additions and 14 deletions
|
@ -36,20 +36,20 @@ export default function Settings() {
|
||||||
},
|
},
|
||||||
...(isTorboxEnabled
|
...(isTorboxEnabled
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
tabLabel: (
|
tabLabel: (
|
||||||
<>
|
<>
|
||||||
<img
|
<img
|
||||||
src={torBoxLogo}
|
src={torBoxLogo}
|
||||||
alt="TorBox"
|
alt="TorBox"
|
||||||
style={{ width: 13, height: 13 }}
|
style={{ width: 13, height: 13 }}
|
||||||
/>{" "}
|
/>{" "}
|
||||||
Torbox
|
Torbox
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
contentTitle: "TorBox",
|
contentTitle: "TorBox",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
{ tabLabel: "Real-Debrid", contentTitle: "Real-Debrid" },
|
{ tabLabel: "Real-Debrid", contentTitle: "Real-Debrid" },
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue