Skip to content

Commit 6afd1e8

Browse files
committed
remove debug
1 parent e804313 commit 6afd1e8

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/ra-input-rich-text/src/RichTextInput.stories.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ const MentionList = (props: {
386386

387387
const selectItem = index => {
388388
const item = props.items[index];
389-
console.log('selectItem', index, item, props.command);
390389

391390
if (item) {
392391
props.command({ id: item });
@@ -428,7 +427,6 @@ const MentionList = (props: {
428427
selected={index === selectedIndex}
429428
key={index}
430429
onMouseDown={e => {
431-
console.log('onMouseDown', index);
432430
e.preventDefault();
433431
selectItem(index);
434432
}}
@@ -510,12 +508,6 @@ const suggestions = tags => {
510508
},
511509

512510
onKeyDown(props) {
513-
console.log(
514-
'suggestion onKeyDown',
515-
props.event.key,
516-
'ref:',
517-
!!onKeyDownRef.current
518-
);
519511
if (props.event.key === 'Escape') {
520512
if (floatingEl) {
521513
floatingEl.style.display = 'none';

0 commit comments

Comments
 (0)