Whisper
Whisper copied to clipboard
[OTHER] use the logical AND operator to display the message when the user chooses to show a bad word
What would you like to share?
https://github.com/Dun-sin/Whisper/blob/dbec99c68f63c606647ea2cef1d458a72ae83b1b/client/src/components/Chat.jsx#L531-L533
change that code to:
badwordChoices[id] === 'show' && message
Additional information
This issue depends on #663
To reduce notifications, issues are locked until they are valid/approved and to be assigned. In the meantime read the contributing guidelines -> https://github.com/Dun-sin/Whisper/blob/main/CONTRIBUTING.md
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you.