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

@ -16,7 +16,7 @@ import {
TableNode,
TableRowNode,
} from '@lexical/table';
import {$createParagraphNode, $getSelection, $log} from 'lexical';
import {$createParagraphNode, $getSelection} from 'lexical';
import {useEffect} from 'react';
import invariant from 'shared/invariant';
@ -37,7 +37,6 @@ export default function TablePlugin(): React$Node {
(type, payload) => {
if (type === 'insertTable') {
const {columns, rows} = payload;
$log('handleAddTable');
const selection = $getSelection();
if (selection === null) {
return true;