Open github-actions[bot] opened 3 years ago
Fix TTS being garbage
https://github.com/AAGaming00/rich-quotes/blob/bda3ee3700a0c54d87057dda402b4a3d118f6f2b/components/MoreContextMenu.jsx#L10
if (props.isMarkdown) { if (!props.link) { // @todo Fix TTS being garbage const idCheck = new RegExp(`^(${['add\\-reaction', 'edit', 'pin', 'mark\\-unread', 'reply', 'copy\\-link', 'delete', 'tts'].join('|')})$`); console.log(res.props.children[2].props.children); res.props.children[2].props.children = res.props.children[2].props.children.filter((c, j) => { if (c && j !== 0 && c.props?.id ? !idCheck.test(c.props.id) : false) return true; else return false;
2670af40571ec743ac74f27b7f71fba27afd408c
Fix TTS being garbage
https://github.com/AAGaming00/rich-quotes/blob/bda3ee3700a0c54d87057dda402b4a3d118f6f2b/components/MoreContextMenu.jsx#L10
2670af40571ec743ac74f27b7f71fba27afd408c