-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Hide Jitsi Logs using showLogs
props
#132
base: main
Are you sure you want to change the base?
Conversation
This pull request introduces 1 alert when merging d7bcd4c into 4db8216 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 8971a74 into 4db8216 - view on LGTM.com new alerts:
|
@@ -39,6 +39,9 @@ const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat }) => { | |||
{ speaker: "Z", hour: "50" }, | |||
]; | |||
|
|||
//Set "showLogs" to true if you want to see logs for debugging | |||
const showLogs = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
showLogs shouldn't be a constant in the components code!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sing-Li I have changed the approach. The logs can now be toggled using a button in the dropdown.
showLogs
props
Issues
Mentioned in the issue #131
Proposed changes (including videos or screenshots)
showLogs
props top<Jitsibroadcaster ... />
component which can be set to true to view logs and false to hide logs2022-04-06.12-32-42.mp4