Remove $log (#1321)

This commit is contained in:
Dominic Gannaway
2022-02-17 18:52:02 +00:00
committed by acywatson
parent 646222a7f4
commit 39c7328511
27 changed files with 20 additions and 95 deletions

View File

@ -17,7 +17,6 @@ import {
$getSelection,
$isLeafNode,
$isTextNode,
$log,
$setSelection,
} from 'lexical';
import {
@ -77,7 +76,6 @@ export function useCharacterLimit(
const offset = findOffset(text, maxCharacters, strlen);
editor.update(
() => {
$log('CharacterLimit');
$wrapOverflowedNodes(offset);
},
{