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