Skip to content

Commit

Permalink
Remove space handling (for BUTTON and SUMMARY) (#41977)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored Jun 30, 2022
1 parent a310245 commit 895ca1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 67 deletions.
2 changes: 0 additions & 2 deletions packages/rich-text/src/component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { useSelectObject } from './use-select-object';
import { useIndentListItemOnSpace } from './use-indent-list-item-on-space';
import { useInputAndSelection } from './use-input-and-selection';
import { useDelete } from './use-delete';
import { useSpace } from './use-space';

export function useRichText( {
value = '',
Expand Down Expand Up @@ -247,7 +246,6 @@ export function useRichText( {
isSelected,
onSelectionChange,
} ),
useSpace(),
useRefEffect( () => {
applyFromProps();
didMount.current = true;
Expand Down
65 changes: 0 additions & 65 deletions packages/rich-text/src/component/use-space.js

This file was deleted.

0 comments on commit 895ca1f

Please sign in to comment.