Use a ternary for channel VUs
This commit is contained in:
parent
febc96cedc
commit
ebb9e6cfd4
1 changed files with 2 additions and 3 deletions
|
@ -394,12 +394,11 @@ export function Player({ id }: { id: number }) {
|
|||
|
||||
{settings.proMode && settings.channelVUs && (
|
||||
<div className="channel-vu">
|
||||
{customOutput && (
|
||||
{customOutput ? (
|
||||
<span className="text-muted">
|
||||
Custom audio output disables VU meters.
|
||||
</span>
|
||||
)}
|
||||
{!customOutput && (
|
||||
) : (
|
||||
<VUMeter
|
||||
width={300}
|
||||
height={40}
|
||||
|
|
Loading…
Reference in a new issue