Show debug only conditionally

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2023-01-30 22:07:00 +01:00
parent 807a6a8545
commit abb43bfe59
No known key found for this signature in database
GPG key ID: D1D45825D60C24D2

View file

@ -133,7 +133,7 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
{toolbarButtons.length > 0 && !maximised && ( {toolbarButtons.length > 0 && !maximised && (
<div className={classNames(styles.toolbar)}> <div className={classNames(styles.toolbar)}>
<div className={classNames(styles.debugInfo)}> <div className={classNames(styles.debugInfo)}>
{JSON.stringify(debugInfo)} {showCallFeedDebugInfo && JSON.stringify(debugInfo)}
</div> </div>
<div>{toolbarButtons}</div> <div>{toolbarButtons}</div>
</div> </div>