Remove double exclammation mark for function that already returns a boolean
This commit is contained in:
1 parent
a924b0e8e2
commit
68ab7d3968
1 file changed
+1
-1
@@ -551,7 +551,7 @@ export const Text = forwardRef<ExtendedTextUtils, TextProps>((props, ref) => {
|
||||
}
|
||||
}
|
||||
// markdown interception
|
||||
if (supportMarkdown && !!handleMarkdown(e)) {
|
||||
if (supportMarkdown && handleMarkdown(e)) {
|
||||
const start_selection = utils.current.getStartSelection();
|
||||
utils.current.setSelection(start_selection);
|
||||
e.preventDefault();
|
||||
|
||||
Reference in new issue
Block a user